Summary|Tags|Feature:src/test/java/InspireTest/ngr/T02_Services.featureget details
Scenario Outline: [1.1:18]62c0d0a5-5826-406d-a625-d84bc5fec800
ms: 638
>>
Background:
1
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2
* def mystorage = Java.type('storage.DataStorage')
2
3
* def db = new mystorage
17
4
* def db = db.setfeature(karate.info.featureFileName)
8
5
* def separator = java.lang.System.getProperty("file.separator")
1
6
* def outputpath = db.outputpath()
1
7
* eval db.ensureDirectory(outputpath)
1
8
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11
Given path 'geonetwork/srv/dut/inspire'
1
12
And param service = 'CSW'
1
13
And param version = '2.0.2'
1
14
And param request = 'GetRecordById'
1
15
And param id = '62c0d0a5-5826-406d-a625-d84bc5fec800'
1
16
And param elementsetname = 'full'
0
17
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
1
18
When method get
610
19
Then status 200
0
20
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62c0d0a5-5826-406d-a625-d84bc5fec800'
1
21
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
22
* def title = get response //citation/CI_Citation/title/CharacterString
1
23
* def email = get response //electronicMailAddress/CharacterString
1
24
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
25
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
26
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
27
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
28
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
29
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
30
* print organisationpath
0
06:40:25.146 [print] Beheer PDOK
31
* print operateson
0
06:40:25.146 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db60a314-5583-437d-a2ff-1e59cc57704e#MD_DataIdentification" ]
32
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
33
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
34
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.2:18]5be14ec9-9bb3-4395-a061-e7e78d04a527
ms: 756
>>
Background:
35
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
36
* def mystorage = Java.type('storage.DataStorage')
2
37
* def db = new mystorage
17
38
* def db = db.setfeature(karate.info.featureFileName)
8
39
* def separator = java.lang.System.getProperty("file.separator")
1
40
* def outputpath = db.outputpath()
1
41
* eval db.ensureDirectory(outputpath)
1
42
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
43
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
44
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
45
Given path 'geonetwork/srv/dut/inspire'
0
46
And param service = 'CSW'
0
47
And param version = '2.0.2'
0
48
And param request = 'GetRecordById'
0
49
And param id = '5be14ec9-9bb3-4395-a061-e7e78d04a527'
1
50
And param elementsetname = 'full'
0
51
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
52
When method get
738
53
Then status 200
0
54
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be14ec9-9bb3-4395-a061-e7e78d04a527'
1
55
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
56
* def title = get response //citation/CI_Citation/title/CharacterString
1
57
* def email = get response //electronicMailAddress/CharacterString
1
58
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
59
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
60
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
61
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
62
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
63
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
64
* print organisationpath
0
06:40:25.271 [print] Beheer PDOK
65
* print operateson
1
06:40:25.271 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification
66
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
67
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
68
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.3:18]0bc2bcb8-558b-446b-b4e2-381b13d483a8
ms: 880
>>
Background:
69
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
70
* def mystorage = Java.type('storage.DataStorage')
2
71
* def db = new mystorage
17
72
* def db = db.setfeature(karate.info.featureFileName)
8
73
* def separator = java.lang.System.getProperty("file.separator")
1
74
* def outputpath = db.outputpath()
1
75
* eval db.ensureDirectory(outputpath)
1
76
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
77
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
78
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
79
Given path 'geonetwork/srv/dut/inspire'
4
80
And param service = 'CSW'
0
81
And param version = '2.0.2'
0
82
And param request = 'GetRecordById'
0
83
And param id = '0bc2bcb8-558b-446b-b4e2-381b13d483a8'
1
84
And param elementsetname = 'full'
0
85
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
86
When method get
856
87
Then status 200
0
88
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bc2bcb8-558b-446b-b4e2-381b13d483a8'
0
89
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
90
* def title = get response //citation/CI_Citation/title/CharacterString
0
91
* def email = get response //electronicMailAddress/CharacterString
0
92
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
93
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
94
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
95
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
96
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
97
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
98
* print organisationpath
0
06:40:25.402 [print] Beheer PDOK
99
* print operateson
0
06:40:25.403 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification
100
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
101
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
102
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.4:18]a7ed73f4-e16d-46a3-befa-603370cfb6e8
ms: 1200
>>
Background:
103
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
104
* def mystorage = Java.type('storage.DataStorage')
2
105
* def db = new mystorage
17
106
* def db = db.setfeature(karate.info.featureFileName)
8
107
* def separator = java.lang.System.getProperty("file.separator")
1
108
* def outputpath = db.outputpath()
1
109
* eval db.ensureDirectory(outputpath)
1
110
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
111
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
112
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
113
Given path 'geonetwork/srv/dut/inspire'
1
114
And param service = 'CSW'
0
115
And param version = '2.0.2'
0
116
And param request = 'GetRecordById'
0
117
And param id = 'a7ed73f4-e16d-46a3-befa-603370cfb6e8'
5
118
And param elementsetname = 'full'
2
119
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
5
120
When method get
1174
121
Then status 200
0
122
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7ed73f4-e16d-46a3-befa-603370cfb6e8'
1
123
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
124
* def title = get response //citation/CI_Citation/title/CharacterString
0
125
* def email = get response //electronicMailAddress/CharacterString
0
126
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
127
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
128
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
129
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
130
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
131
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
132
* print organisationpath
0
06:40:25.722 [print] Beheer PDOK
133
* print operateson
0
06:40:25.722 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db8d613f-5edc-4467-9cc0-e2dcfb9d64a8#MD_DataIdentification
134
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
135
* eval db.writeln('"a7ed73f4-e16d-46a3-befa-603370cfb6e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
136
* eval db.writeln('"a7ed73f4-e16d-46a3-befa-603370cfb6e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.5:18]4041f923-6b77-4816-bf46-437e85416c31
ms: 1026
>>
Background:
137
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
138
* def mystorage = Java.type('storage.DataStorage')
2
139
* def db = new mystorage
17
140
* def db = db.setfeature(karate.info.featureFileName)
8
141
* def separator = java.lang.System.getProperty("file.separator")
1
142
* def outputpath = db.outputpath()
1
143
* eval db.ensureDirectory(outputpath)
1
144
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
145
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
146
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
147
Given path 'geonetwork/srv/dut/inspire'
5
148
And param service = 'CSW'
0
149
And param version = '2.0.2'
0
150
And param request = 'GetRecordById'
0
151
And param id = '4041f923-6b77-4816-bf46-437e85416c31'
1
152
And param elementsetname = 'full'
0
153
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
154
When method get
997
155
Then status 200
0
156
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4041f923-6b77-4816-bf46-437e85416c31'
0
157
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
158
* def title = get response //citation/CI_Citation/title/CharacterString
0
159
* def email = get response //electronicMailAddress/CharacterString
0
160
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
161
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
162
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
163
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
164
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
165
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
166
* print organisationpath
0
06:40:25.538 [print] Beheer PDOK
167
* print operateson
4
06:40:25.542 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification" ]
168
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
169
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
170
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.6:18]d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4
ms: 975
>>
Background:
171
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
172
* def mystorage = Java.type('storage.DataStorage')
2
173
* def db = new mystorage
17
174
* def db = db.setfeature(karate.info.featureFileName)
8
175
* def separator = java.lang.System.getProperty("file.separator")
1
176
* def outputpath = db.outputpath()
1
177
* eval db.ensureDirectory(outputpath)
1
178
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
179
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
180
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
181
Given path 'geonetwork/srv/dut/inspire'
0
182
And param service = 'CSW'
0
183
And param version = '2.0.2'
0
184
And param request = 'GetRecordById'
0
185
And param id = 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
186
And param elementsetname = 'full'
0
187
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
188
When method get
960
189
Then status 200
0
190
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
191
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
192
* def title = get response //citation/CI_Citation/title/CharacterString
0
193
* def email = get response //electronicMailAddress/CharacterString
0
194
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
195
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
196
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
197
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
198
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
199
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
200
* print organisationpath
0
06:40:25.519 [print] Beheer PDOK
201
* print operateson
0
06:40:25.519 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification" ]
202
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
203
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
204
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.7:18]ce4ac3b9-8291-498d-95de-79fe7b6f5259
ms: 884
>>
Background:
205
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
206
* def mystorage = Java.type('storage.DataStorage')
2
207
* def db = new mystorage
17
208
* def db = db.setfeature(karate.info.featureFileName)
8
209
* def separator = java.lang.System.getProperty("file.separator")
1
210
* def outputpath = db.outputpath()
1
211
* eval db.ensureDirectory(outputpath)
1
212
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
213
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
214
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
215
Given path 'geonetwork/srv/dut/inspire'
7
216
And param service = 'CSW'
0
217
And param version = '2.0.2'
0
218
And param request = 'GetRecordById'
0
219
And param id = 'ce4ac3b9-8291-498d-95de-79fe7b6f5259'
1
220
And param elementsetname = 'full'
0
221
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
222
When method get
847
223
Then status 200
0
224
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce4ac3b9-8291-498d-95de-79fe7b6f5259'
2
225
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
226
* def title = get response //citation/CI_Citation/title/CharacterString
0
227
* def email = get response //electronicMailAddress/CharacterString
0
228
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
229
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
230
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
231
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
232
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
233
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
234
* print organisationpath
0
06:40:25.393 [print] Beheer PDOK
235
* print operateson
0
06:40:25.393 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification
236
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
14
237
* eval db.writeln('"ce4ac3b9-8291-498d-95de-79fe7b6f5259","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
238
* eval db.writeln('"ce4ac3b9-8291-498d-95de-79fe7b6f5259","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.8:18]94e5b115-bece-4140-99ed-93b8f363948e
ms: 1796
>>
Background:
239
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
240
* def mystorage = Java.type('storage.DataStorage')
2
241
* def db = new mystorage
17
242
* def db = db.setfeature(karate.info.featureFileName)
8
243
* def separator = java.lang.System.getProperty("file.separator")
1
244
* def outputpath = db.outputpath()
1
245
* eval db.ensureDirectory(outputpath)
1
246
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
247
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
248
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
249
Given path 'geonetwork/srv/dut/inspire'
0
250
And param service = 'CSW'
0
251
And param version = '2.0.2'
0
252
And param request = 'GetRecordById'
0
253
And param id = '94e5b115-bece-4140-99ed-93b8f363948e'
1
254
And param elementsetname = 'full'
0
255
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
256
When method get
1779
257
Then status 200
0
258
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94e5b115-bece-4140-99ed-93b8f363948e'
2
259
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
260
* def title = get response //citation/CI_Citation/title/CharacterString
1
261
* def email = get response //electronicMailAddress/CharacterString
1
262
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
263
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
264
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
265
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
266
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
267
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
268
* print organisationpath
0
06:40:26.334 [print] Beheer PDOK
269
* print operateson
0
06:40:26.334 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification
270
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
271
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
272
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.9:18]a02c6566-e0ad-4fc1-b217-67cc1099dea2
ms: 1989
>>
Background:
273
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
274
* def mystorage = Java.type('storage.DataStorage')
2
275
* def db = new mystorage
17
276
* def db = db.setfeature(karate.info.featureFileName)
8
277
* def separator = java.lang.System.getProperty("file.separator")
1
278
* def outputpath = db.outputpath()
1
279
* eval db.ensureDirectory(outputpath)
1
280
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
281
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
282
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
283
Given path 'geonetwork/srv/dut/inspire'
0
284
And param service = 'CSW'
0
285
And param version = '2.0.2'
0
286
And param request = 'GetRecordById'
0
287
And param id = 'a02c6566-e0ad-4fc1-b217-67cc1099dea2'
1
288
And param elementsetname = 'full'
0
289
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
290
When method get
1967
291
Then status 200
0
292
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a02c6566-e0ad-4fc1-b217-67cc1099dea2'
2
293
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
294
* def title = get response //citation/CI_Citation/title/CharacterString
0
295
* def email = get response //electronicMailAddress/CharacterString
0
296
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
297
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
298
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
299
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
300
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
301
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
302
* print organisationpath
0
06:40:26.523 [print]
303
* print operateson
0
06:40:26.523 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification
304
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
305
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
10
306
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.10:18]664862cb-d426-4ee4-97ac-14c12b903b54
ms: 1201
>>
Background:
307
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
308
* def mystorage = Java.type('storage.DataStorage')
2
309
* def db = new mystorage
17
310
* def db = db.setfeature(karate.info.featureFileName)
8
311
* def separator = java.lang.System.getProperty("file.separator")
1
312
* def outputpath = db.outputpath()
1
313
* eval db.ensureDirectory(outputpath)
1
314
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
315
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
316
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
317
Given path 'geonetwork/srv/dut/inspire'
1
318
And param service = 'CSW'
0
319
And param version = '2.0.2'
0
320
And param request = 'GetRecordById'
0
321
And param id = '664862cb-d426-4ee4-97ac-14c12b903b54'
1
322
And param elementsetname = 'full'
0
323
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
324
When method get
1187
325
Then status 200
0
326
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '664862cb-d426-4ee4-97ac-14c12b903b54'
1
327
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
328
* def title = get response //citation/CI_Citation/title/CharacterString
0
329
* def email = get response //electronicMailAddress/CharacterString
0
330
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
331
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
332
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
333
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
334
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
335
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
336
* print organisationpath
1
06:40:25.751 [print] TNO Geologische Dienst Nederland
337
* print operateson
0
06:40:25.751 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
338
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
339
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
340
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.11:18]1cb58f52-c397-4cec-aba3-45358db3c4c9
ms: 1290
>>
Background:
341
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
342
* def mystorage = Java.type('storage.DataStorage')
2
343
* def db = new mystorage
17
344
* def db = db.setfeature(karate.info.featureFileName)
8
345
* def separator = java.lang.System.getProperty("file.separator")
1
346
* def outputpath = db.outputpath()
1
347
* eval db.ensureDirectory(outputpath)
1
348
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
349
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
350
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
351
Given path 'geonetwork/srv/dut/inspire'
0
352
And param service = 'CSW'
0
353
And param version = '2.0.2'
0
354
And param request = 'GetRecordById'
0
355
And param id = '1cb58f52-c397-4cec-aba3-45358db3c4c9'
1
356
And param elementsetname = 'full'
0
357
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
358
When method get
1277
359
Then status 200
0
360
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1cb58f52-c397-4cec-aba3-45358db3c4c9'
1
361
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
362
* def title = get response //citation/CI_Citation/title/CharacterString
0
363
* def email = get response //electronicMailAddress/CharacterString
1
364
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
365
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
366
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
367
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
368
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
369
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
370
* print organisationpath
0
06:40:25.837 [print] Beheer PDOK
371
* print operateson
0
06:40:25.837 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
372
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
373
* eval db.writeln('"1cb58f52-c397-4cec-aba3-45358db3c4c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
374
* eval db.writeln('"1cb58f52-c397-4cec-aba3-45358db3c4c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.12:18]abf1f9f0-1b85-40e8-86ec-86bee6003b4e
ms: 1266
>>
Background:
375
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
376
* def mystorage = Java.type('storage.DataStorage')
2
377
* def db = new mystorage
17
378
* def db = db.setfeature(karate.info.featureFileName)
8
379
* def separator = java.lang.System.getProperty("file.separator")
1
380
* def outputpath = db.outputpath()
1
381
* eval db.ensureDirectory(outputpath)
1
382
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
383
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
384
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
385
Given path 'geonetwork/srv/dut/inspire'
0
386
And param service = 'CSW'
0
387
And param version = '2.0.2'
0
388
And param request = 'GetRecordById'
0
389
And param id = 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e'
1
390
And param elementsetname = 'full'
0
391
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
392
When method get
1248
393
Then status 200
0
394
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e'
2
395
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
396
* def title = get response //citation/CI_Citation/title/CharacterString
1
397
* def email = get response //electronicMailAddress/CharacterString
1
398
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
399
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
400
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
401
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
402
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
403
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
404
* print organisationpath
0
06:40:25.814 [print] Beheer PDOK
405
* print operateson
0
06:40:25.814 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification
406
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
407
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
408
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.13:18]af4841b5-ce83-4edb-af41-429a21140316
ms: 1594
>>
Background:
409
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
410
* def mystorage = Java.type('storage.DataStorage')
2
411
* def db = new mystorage
17
412
* def db = db.setfeature(karate.info.featureFileName)
8
413
* def separator = java.lang.System.getProperty("file.separator")
1
414
* def outputpath = db.outputpath()
1
415
* eval db.ensureDirectory(outputpath)
1
416
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
417
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
418
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
419
Given path 'geonetwork/srv/dut/inspire'
0
420
And param service = 'CSW'
0
421
And param version = '2.0.2'
0
422
And param request = 'GetRecordById'
0
423
And param id = 'af4841b5-ce83-4edb-af41-429a21140316'
1
424
And param elementsetname = 'full'
0
425
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
426
When method get
1563
427
Then status 200
0
428
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af4841b5-ce83-4edb-af41-429a21140316'
2
429
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
430
* def title = get response //citation/CI_Citation/title/CharacterString
2
431
* def email = get response //electronicMailAddress/CharacterString
2
432
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
5
433
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
434
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
435
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
436
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
437
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
438
* print organisationpath
0
06:40:26.147 [print] Beheer PDOK
439
* print operateson
0
06:40:26.147 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
440
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
441
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
442
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.14:18]9940c446-6fd4-4ab3-a4de-7d0ee028a8d1
ms: 1459
>>
Background:
443
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
444
* def mystorage = Java.type('storage.DataStorage')
2
445
* def db = new mystorage
17
446
* def db = db.setfeature(karate.info.featureFileName)
8
447
* def separator = java.lang.System.getProperty("file.separator")
1
448
* def outputpath = db.outputpath()
1
449
* eval db.ensureDirectory(outputpath)
1
450
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
451
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
452
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
453
Given path 'geonetwork/srv/dut/inspire'
0
454
And param service = 'CSW'
0
455
And param version = '2.0.2'
0
456
And param request = 'GetRecordById'
0
457
And param id = '9940c446-6fd4-4ab3-a4de-7d0ee028a8d1'
1
458
And param elementsetname = 'full'
0
459
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
460
When method get
1438
461
Then status 200
0
462
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9940c446-6fd4-4ab3-a4de-7d0ee028a8d1'
1
463
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
464
* def title = get response //citation/CI_Citation/title/CharacterString
1
465
* def email = get response //electronicMailAddress/CharacterString
1
466
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
467
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
468
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
469
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
470
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
471
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
472
* print organisationpath
0
06:40:26.008 [print] Beheer PDOK
473
* print operateson
0
06:40:26.009 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2220c0dd-3720-4e39-a130-171531c1e694#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=78d31ab4-4116-45b7-bcf5-e14960916b0f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b250f3a4-ed78-4c85-8cd5-f1af43841c6d#MD_DataIdentification" ]
474
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
475
* eval db.writeln('"9940c446-6fd4-4ab3-a4de-7d0ee028a8d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
476
* eval db.writeln('"9940c446-6fd4-4ab3-a4de-7d0ee028a8d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.15:18]a299a4af-ccd8-4d32-b1fb-ffab77b32e0e
ms: 1570
>>
Background:
477
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
478
* def mystorage = Java.type('storage.DataStorage')
2
479
* def db = new mystorage
17
480
* def db = db.setfeature(karate.info.featureFileName)
8
481
* def separator = java.lang.System.getProperty("file.separator")
1
482
* def outputpath = db.outputpath()
1
483
* eval db.ensureDirectory(outputpath)
1
484
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
485
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
486
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
487
Given path 'geonetwork/srv/dut/inspire'
0
488
And param service = 'CSW'
0
489
And param version = '2.0.2'
0
490
And param request = 'GetRecordById'
0
491
And param id = 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e'
1
492
And param elementsetname = 'full'
0
493
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
494
When method get
1553
495
Then status 200
0
496
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e'
1
497
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
498
* def title = get response //citation/CI_Citation/title/CharacterString
1
499
* def email = get response //electronicMailAddress/CharacterString
0
500
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
501
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
502
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
503
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
504
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
505
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
506
* print organisationpath
0
06:40:26.125 [print] TNO Geologische Dienst Nederland
507
* print operateson
0
06:40:26.125 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
508
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
509
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
510
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.16:18]42da491e-d8b9-47ba-af65-acb15ea8a055
ms: 1963
>>
Background:
511
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
512
* def mystorage = Java.type('storage.DataStorage')
2
513
* def db = new mystorage
17
514
* def db = db.setfeature(karate.info.featureFileName)
8
515
* def separator = java.lang.System.getProperty("file.separator")
1
516
* def outputpath = db.outputpath()
1
517
* eval db.ensureDirectory(outputpath)
1
518
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
519
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
520
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
521
Given path 'geonetwork/srv/dut/inspire'
0
522
And param service = 'CSW'
0
523
And param version = '2.0.2'
0
524
And param request = 'GetRecordById'
0
525
And param id = '42da491e-d8b9-47ba-af65-acb15ea8a055'
1
526
And param elementsetname = 'full'
0
527
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
528
When method get
1947
529
Then status 200
0
530
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42da491e-d8b9-47ba-af65-acb15ea8a055'
1
531
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
532
* def title = get response //citation/CI_Citation/title/CharacterString
0
533
* def email = get response //electronicMailAddress/CharacterString
1
534
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
535
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
536
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
537
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
538
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
539
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
540
* print organisationpath
0
06:40:26.522 [print]
541
* print operateson
0
06:40:26.522 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
542
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
543
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
544
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.17:18]b196f948-5d87-4eb4-9854-a93841c3877f
ms: 2089
>>
Background:
545
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
546
* def mystorage = Java.type('storage.DataStorage')
2
547
* def db = new mystorage
17
548
* def db = db.setfeature(karate.info.featureFileName)
8
549
* def separator = java.lang.System.getProperty("file.separator")
1
550
* def outputpath = db.outputpath()
1
551
* eval db.ensureDirectory(outputpath)
1
552
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
553
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
554
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
555
Given path 'geonetwork/srv/dut/inspire'
0
556
And param service = 'CSW'
0
557
And param version = '2.0.2'
0
558
And param request = 'GetRecordById'
0
559
And param id = 'b196f948-5d87-4eb4-9854-a93841c3877f'
1
560
And param elementsetname = 'full'
0
561
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
562
When method get
2076
563
Then status 200
0
564
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b196f948-5d87-4eb4-9854-a93841c3877f'
2
565
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
566
* def title = get response //citation/CI_Citation/title/CharacterString
1
567
* def email = get response //electronicMailAddress/CharacterString
1
568
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
569
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
570
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
571
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
572
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
573
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
574
* print organisationpath
0
06:40:26.654 [print] Beheer PDOK
575
* print operateson
0
06:40:26.654 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification
576
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
577
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
578
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.18:18]86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f
ms: 2439
>>
Background:
579
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
580
* def mystorage = Java.type('storage.DataStorage')
2
581
* def db = new mystorage
17
582
* def db = db.setfeature(karate.info.featureFileName)
8
583
* def separator = java.lang.System.getProperty("file.separator")
1
584
* def outputpath = db.outputpath()
1
585
* eval db.ensureDirectory(outputpath)
1
586
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
587
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
588
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
589
Given path 'geonetwork/srv/dut/inspire'
0
590
And param service = 'CSW'
0
591
And param version = '2.0.2'
0
592
And param request = 'GetRecordById'
0
593
And param id = '86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f'
1
594
And param elementsetname = 'full'
0
595
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
596
When method get
2421
597
Then status 200
0
598
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f'
2
599
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
600
* def title = get response //citation/CI_Citation/title/CharacterString
1
601
* def email = get response //electronicMailAddress/CharacterString
1
602
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
603
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
604
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
605
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
606
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
607
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
608
* print organisationpath
0
06:40:27.008 [print] Beheer PDOK
609
* print operateson
0
06:40:27.008 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification
610
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
611
* eval db.writeln('"86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
612
* eval db.writeln('"86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.19:18]0e2580b7-2a15-41a2-b1b6-361265e4f5f4
ms: 2756
>>
Background:
613
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
614
* def mystorage = Java.type('storage.DataStorage')
2
615
* def db = new mystorage
17
616
* def db = db.setfeature(karate.info.featureFileName)
8
617
* def separator = java.lang.System.getProperty("file.separator")
1
618
* def outputpath = db.outputpath()
1
619
* eval db.ensureDirectory(outputpath)
1
620
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
621
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
622
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
623
Given path 'geonetwork/srv/dut/inspire'
0
624
And param service = 'CSW'
0
625
And param version = '2.0.2'
0
626
And param request = 'GetRecordById'
0
627
And param id = '0e2580b7-2a15-41a2-b1b6-361265e4f5f4'
1
628
And param elementsetname = 'full'
0
629
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
630
When method get
2744
631
Then status 200
0
632
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0e2580b7-2a15-41a2-b1b6-361265e4f5f4'
2
633
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
634
* def title = get response //citation/CI_Citation/title/CharacterString
1
635
* def email = get response //electronicMailAddress/CharacterString
1
636
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
637
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
638
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
639
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
640
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
641
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
642
* print organisationpath
0
06:40:27.331 [print] Beheer PDOK
643
* print operateson
0
06:40:27.332 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification
644
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
645
* eval db.writeln('"0e2580b7-2a15-41a2-b1b6-361265e4f5f4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
646
* eval db.writeln('"0e2580b7-2a15-41a2-b1b6-361265e4f5f4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.20:18]6ff5af41-4cb0-406a-a77c-a4cf4223cbc7
ms: 2686
>>
Background:
647
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
648
* def mystorage = Java.type('storage.DataStorage')
2
649
* def db = new mystorage
17
650
* def db = db.setfeature(karate.info.featureFileName)
8
651
* def separator = java.lang.System.getProperty("file.separator")
1
652
* def outputpath = db.outputpath()
1
653
* eval db.ensureDirectory(outputpath)
1
654
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
655
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
656
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
657
Given path 'geonetwork/srv/dut/inspire'
0
658
And param service = 'CSW'
0
659
And param version = '2.0.2'
0
660
And param request = 'GetRecordById'
0
661
And param id = '6ff5af41-4cb0-406a-a77c-a4cf4223cbc7'
1
662
And param elementsetname = 'full'
0
663
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
664
When method get
2674
665
Then status 200
0
666
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6ff5af41-4cb0-406a-a77c-a4cf4223cbc7'
2
667
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
668
* def title = get response //citation/CI_Citation/title/CharacterString
0
669
* def email = get response //electronicMailAddress/CharacterString
1
670
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
671
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
672
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
673
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
674
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
675
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
676
* print organisationpath
0
06:40:27.266 [print] Beheer PDOK
677
* print operateson
0
06:40:27.266 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification
678
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
679
* eval db.writeln('"6ff5af41-4cb0-406a-a77c-a4cf4223cbc7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
680
* eval db.writeln('"6ff5af41-4cb0-406a-a77c-a4cf4223cbc7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.21:18]f20e948e-9e22-4b5a-96a1-f3cc1d16b808
ms: 2535
>>
Background:
681
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
682
* def mystorage = Java.type('storage.DataStorage')
2
683
* def db = new mystorage
17
684
* def db = db.setfeature(karate.info.featureFileName)
8
685
* def separator = java.lang.System.getProperty("file.separator")
1
686
* def outputpath = db.outputpath()
1
687
* eval db.ensureDirectory(outputpath)
1
688
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
689
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
690
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
691
Given path 'geonetwork/srv/dut/inspire'
1
692
And param service = 'CSW'
0
693
And param version = '2.0.2'
0
694
And param request = 'GetRecordById'
0
695
And param id = 'f20e948e-9e22-4b5a-96a1-f3cc1d16b808'
1
696
And param elementsetname = 'full'
0
697
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
698
When method get
2505
699
Then status 200
0
700
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f20e948e-9e22-4b5a-96a1-f3cc1d16b808'
2
701
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
702
* def title = get response //citation/CI_Citation/title/CharacterString
1
703
* def email = get response //electronicMailAddress/CharacterString
1
704
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
705
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
706
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
707
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
708
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
709
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
710
* print organisationpath
0
06:40:27.090 [print] Beheer PDOK
711
* print operateson
0
06:40:27.090 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification
712
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
713
* eval db.writeln('"f20e948e-9e22-4b5a-96a1-f3cc1d16b808","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
714
* eval db.writeln('"f20e948e-9e22-4b5a-96a1-f3cc1d16b808","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
15
Scenario Outline: [1.22:18]a4c5aa6c-6c7f-45d7-9799-011edd83d9c2
ms: 2125
>>
Background:
715
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
716
* def mystorage = Java.type('storage.DataStorage')
2
717
* def db = new mystorage
17
718
* def db = db.setfeature(karate.info.featureFileName)
8
719
* def separator = java.lang.System.getProperty("file.separator")
1
720
* def outputpath = db.outputpath()
1
721
* eval db.ensureDirectory(outputpath)
1
722
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
723
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
724
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
725
Given path 'geonetwork/srv/dut/inspire'
1
726
And param service = 'CSW'
0
727
And param version = '2.0.2'
0
728
And param request = 'GetRecordById'
0
729
And param id = 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2'
1
730
And param elementsetname = 'full'
0
731
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
732
When method get
2111
733
Then status 200
0
734
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2'
1
735
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
736
* def title = get response //citation/CI_Citation/title/CharacterString
1
737
* def email = get response //electronicMailAddress/CharacterString
1
738
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
739
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
740
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
741
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
742
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
743
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
744
* print organisationpath
1
06:40:26.695 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
745
* print operateson
0
06:40:26.695 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification
746
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
747
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
748
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.23:18]87a382da-c6dc-403c-a006-2379eb6daaa6
ms: 2318
>>
Background:
749
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
750
* def mystorage = Java.type('storage.DataStorage')
2
751
* def db = new mystorage
17
752
* def db = db.setfeature(karate.info.featureFileName)
8
753
* def separator = java.lang.System.getProperty("file.separator")
1
754
* def outputpath = db.outputpath()
1
755
* eval db.ensureDirectory(outputpath)
1
756
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
757
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
758
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
759
Given path 'geonetwork/srv/dut/inspire'
0
760
And param service = 'CSW'
0
761
And param version = '2.0.2'
0
762
And param request = 'GetRecordById'
0
763
And param id = '87a382da-c6dc-403c-a006-2379eb6daaa6'
1
764
And param elementsetname = 'full'
0
765
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
766
When method get
2305
767
Then status 200
0
768
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '87a382da-c6dc-403c-a006-2379eb6daaa6'
1
769
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
770
* def title = get response //citation/CI_Citation/title/CharacterString
0
771
* def email = get response //electronicMailAddress/CharacterString
0
772
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
773
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
774
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
775
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
776
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
777
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
778
* print organisationpath
0
06:40:26.894 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
779
* print operateson
0
06:40:26.894 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
780
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
781
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
782
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.24:18]fa3ecd49-4571-4eb3-84f3-2865f42934b2
ms: 2788
>>
Background:
783
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
784
* def mystorage = Java.type('storage.DataStorage')
2
785
* def db = new mystorage
17
786
* def db = db.setfeature(karate.info.featureFileName)
8
787
* def separator = java.lang.System.getProperty("file.separator")
1
788
* def outputpath = db.outputpath()
1
789
* eval db.ensureDirectory(outputpath)
1
790
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
791
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
792
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
793
Given path 'geonetwork/srv/dut/inspire'
0
794
And param service = 'CSW'
0
795
And param version = '2.0.2'
0
796
And param request = 'GetRecordById'
0
797
And param id = 'fa3ecd49-4571-4eb3-84f3-2865f42934b2'
1
798
And param elementsetname = 'full'
0
799
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
800
When method get
2773
801
Then status 200
0
802
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fa3ecd49-4571-4eb3-84f3-2865f42934b2'
1
803
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
804
* def title = get response //citation/CI_Citation/title/CharacterString
0
805
* def email = get response //electronicMailAddress/CharacterString
0
806
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
807
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
808
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
809
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
810
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
811
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
812
* print organisationpath
0
06:40:27.366 [print] TNO Geologische Dienst Nederland
813
* print operateson
0
06:40:27.366 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
814
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
815
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
816
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.25:18]32655f4b-551b-42c8-b071-95738d0f5daa
ms: 2129
>>
Background:
817
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
818
* def mystorage = Java.type('storage.DataStorage')
2
819
* def db = new mystorage
17
820
* def db = db.setfeature(karate.info.featureFileName)
8
821
* def separator = java.lang.System.getProperty("file.separator")
1
822
* def outputpath = db.outputpath()
1
823
* eval db.ensureDirectory(outputpath)
1
824
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
825
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
826
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
827
Given path 'geonetwork/srv/dut/inspire'
1
828
And param service = 'CSW'
0
829
And param version = '2.0.2'
0
830
And param request = 'GetRecordById'
0
831
And param id = '32655f4b-551b-42c8-b071-95738d0f5daa'
1
832
And param elementsetname = 'full'
0
833
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
834
When method get
2115
835
Then status 200
0
836
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32655f4b-551b-42c8-b071-95738d0f5daa'
4
837
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
838
* def title = get response //citation/CI_Citation/title/CharacterString
0
839
* def email = get response //electronicMailAddress/CharacterString
0
840
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
841
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
842
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
843
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
844
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
845
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
846
* print organisationpath
0
06:40:27.280 [print] Beheer PDOK
847
* print operateson
0
06:40:27.280 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254
848
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
849
* eval db.writeln('"32655f4b-551b-42c8-b071-95738d0f5daa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
850
* eval db.writeln('"32655f4b-551b-42c8-b071-95738d0f5daa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.26:18]275b64ab-34c2-41f8-8904-97812c7f716e
ms: 2460
>>
Background:
851
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
852
* def mystorage = Java.type('storage.DataStorage')
2
853
* def db = new mystorage
17
854
* def db = db.setfeature(karate.info.featureFileName)
8
855
* def separator = java.lang.System.getProperty("file.separator")
1
856
* def outputpath = db.outputpath()
1
857
* eval db.ensureDirectory(outputpath)
1
858
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
859
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
860
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
861
Given path 'geonetwork/srv/dut/inspire'
1
862
And param service = 'CSW'
0
863
And param version = '2.0.2'
0
864
And param request = 'GetRecordById'
0
865
And param id = '275b64ab-34c2-41f8-8904-97812c7f716e'
9
866
And param elementsetname = 'full'
0
867
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
868
When method get
2442
869
Then status 200
0
870
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '275b64ab-34c2-41f8-8904-97812c7f716e'
1
871
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
872
* def title = get response //citation/CI_Citation/title/CharacterString
0
873
* def email = get response //electronicMailAddress/CharacterString
0
874
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
875
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
876
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
877
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
878
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
879
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
880
* print organisationpath
0
06:40:27.737 [print] Beheer PDOK
881
* print operateson
0
06:40:27.737 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification
882
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
883
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
884
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.27:18]68722979-8d6c-4ee4-a81a-8381d2588fe5
ms: 2403
>>
Background:
885
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
886
* def mystorage = Java.type('storage.DataStorage')
2
887
* def db = new mystorage
17
888
* def db = db.setfeature(karate.info.featureFileName)
8
889
* def separator = java.lang.System.getProperty("file.separator")
1
890
* def outputpath = db.outputpath()
1
891
* eval db.ensureDirectory(outputpath)
1
892
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
893
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
894
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
895
Given path 'geonetwork/srv/dut/inspire'
5
896
And param service = 'CSW'
0
897
And param version = '2.0.2'
0
898
And param request = 'GetRecordById'
0
899
And param id = '68722979-8d6c-4ee4-a81a-8381d2588fe5'
1
900
And param elementsetname = 'full'
0
901
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
902
When method get
2387
903
Then status 200
0
904
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68722979-8d6c-4ee4-a81a-8381d2588fe5'
1
905
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
906
* def title = get response //citation/CI_Citation/title/CharacterString
0
907
* def email = get response //electronicMailAddress/CharacterString
0
908
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
909
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
910
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
911
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
912
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
913
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
914
* print organisationpath
0
06:40:27.811 [print] Beheer PDOK
915
* print operateson
0
06:40:27.812 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
916
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
917
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
918
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.28:18]d94b1eca-8a7d-4dc4-b979-36257878758f
ms: 2350
>>
Background:
919
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
920
* def mystorage = Java.type('storage.DataStorage')
2
921
* def db = new mystorage
17
922
* def db = db.setfeature(karate.info.featureFileName)
8
923
* def separator = java.lang.System.getProperty("file.separator")
1
924
* def outputpath = db.outputpath()
1
925
* eval db.ensureDirectory(outputpath)
1
926
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
927
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
928
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
929
Given path 'geonetwork/srv/dut/inspire'
1
930
And param service = 'CSW'
0
931
And param version = '2.0.2'
0
932
And param request = 'GetRecordById'
0
933
And param id = 'd94b1eca-8a7d-4dc4-b979-36257878758f'
1
934
And param elementsetname = 'full'
0
935
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
936
When method get
2334
937
Then status 200
0
938
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd94b1eca-8a7d-4dc4-b979-36257878758f'
1
939
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
940
* def title = get response //citation/CI_Citation/title/CharacterString
1
941
* def email = get response //electronicMailAddress/CharacterString
1
942
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
943
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
944
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
945
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
946
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
947
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
948
* print organisationpath
0
06:40:27.761 [print]
949
* print operateson
0
06:40:27.761 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification
950
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
951
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
952
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.29:18]6d86c14f-cccf-41e9-a58e-ead9d52ae35d
ms: 2197
>>
Background:
953
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
954
* def mystorage = Java.type('storage.DataStorage')
2
955
* def db = new mystorage
17
956
* def db = db.setfeature(karate.info.featureFileName)
8
957
* def separator = java.lang.System.getProperty("file.separator")
1
958
* def outputpath = db.outputpath()
1
959
* eval db.ensureDirectory(outputpath)
1
960
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
961
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
962
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
963
Given path 'geonetwork/srv/dut/inspire'
1
964
And param service = 'CSW'
0
965
And param version = '2.0.2'
0
966
And param request = 'GetRecordById'
0
967
And param id = '6d86c14f-cccf-41e9-a58e-ead9d52ae35d'
1
968
And param elementsetname = 'full'
0
969
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
970
When method get
2184
971
Then status 200
0
972
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d86c14f-cccf-41e9-a58e-ead9d52ae35d'
2
973
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
974
* def title = get response //citation/CI_Citation/title/CharacterString
0
975
* def email = get response //electronicMailAddress/CharacterString
0
976
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
977
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
978
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
979
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
980
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
981
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
982
* print organisationpath
0
06:40:27.718 [print] Informatiehuis Water
983
* print operateson
0
06:40:27.718 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
984
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
985
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
986
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.30:18]3dc373ae-fcf6-49c9-b315-9a2178bffe4a
ms: 2491
>>
Background:
987
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
988
* def mystorage = Java.type('storage.DataStorage')
2
989
* def db = new mystorage
17
990
* def db = db.setfeature(karate.info.featureFileName)
8
991
* def separator = java.lang.System.getProperty("file.separator")
1
992
* def outputpath = db.outputpath()
1
993
* eval db.ensureDirectory(outputpath)
1
994
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
995
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
996
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
997
Given path 'geonetwork/srv/dut/inspire'
1
998
And param service = 'CSW'
0
999
And param version = '2.0.2'
0
1000
And param request = 'GetRecordById'
0
1001
And param id = '3dc373ae-fcf6-49c9-b315-9a2178bffe4a'
1
1002
And param elementsetname = 'full'
0
1003
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1004
When method get
2479
1005
Then status 200
0
1006
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3dc373ae-fcf6-49c9-b315-9a2178bffe4a'
1
1007
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1008
* def title = get response //citation/CI_Citation/title/CharacterString
0
1009
* def email = get response //electronicMailAddress/CharacterString
0
1010
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1011
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1012
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1013
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1014
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1015
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1016
* print organisationpath
0
06:40:28.045 [print] Beheer PDOK
1017
* print operateson
0
06:40:28.045 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification
1018
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1019
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1020
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.31:18]0d2ca03b-fb7b-466a-bb93-e2bfb596e394
ms: 2355
>>
Background:
1021
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1022
* def mystorage = Java.type('storage.DataStorage')
2
1023
* def db = new mystorage
17
1024
* def db = db.setfeature(karate.info.featureFileName)
8
1025
* def separator = java.lang.System.getProperty("file.separator")
1
1026
* def outputpath = db.outputpath()
1
1027
* eval db.ensureDirectory(outputpath)
1
1028
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1029
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1030
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1031
Given path 'geonetwork/srv/dut/inspire'
3
1032
And param service = 'CSW'
0
1033
And param version = '2.0.2'
0
1034
And param request = 'GetRecordById'
0
1035
And param id = '0d2ca03b-fb7b-466a-bb93-e2bfb596e394'
1
1036
And param elementsetname = 'full'
0
1037
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1038
When method get
2336
1039
Then status 200
0
1040
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0d2ca03b-fb7b-466a-bb93-e2bfb596e394'
1
1041
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1042
* def title = get response //citation/CI_Citation/title/CharacterString
1
1043
* def email = get response //electronicMailAddress/CharacterString
1
1044
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1045
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1046
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1047
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1048
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1049
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1050
* print organisationpath
0
06:40:28.077 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1051
* print operateson
0
06:40:28.077 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
1052
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1053
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
7
1054
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.32:18]2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0
ms: 2446
>>
Background:
1055
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1056
* def mystorage = Java.type('storage.DataStorage')
2
1057
* def db = new mystorage
17
1058
* def db = db.setfeature(karate.info.featureFileName)
8
1059
* def separator = java.lang.System.getProperty("file.separator")
1
1060
* def outputpath = db.outputpath()
1
1061
* eval db.ensureDirectory(outputpath)
1
1062
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1063
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1064
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1065
Given path 'geonetwork/srv/dut/inspire'
1
1066
And param service = 'CSW'
0
1067
And param version = '2.0.2'
0
1068
And param request = 'GetRecordById'
0
1069
And param id = '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0'
1
1070
And param elementsetname = 'full'
0
1071
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1072
When method get
2429
1073
Then status 200
0
1074
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0'
2
1075
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1076
* def title = get response //citation/CI_Citation/title/CharacterString
0
1077
* def email = get response //electronicMailAddress/CharacterString
0
1078
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1079
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1080
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1081
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1082
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1083
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1084
* print organisationpath
0
06:40:28.195 [print] Beheer PDOK
1085
* print operateson
0
06:40:28.195 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ror-9d8e-4758-83fx-28b057f185g1#MD_DataIdentification
1086
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1087
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
8
1088
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.33:18]40c4ec8c-14b2-4104-982b-c0ebfd5397c4
ms: 2380
>>
Background:
1089
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1090
* def mystorage = Java.type('storage.DataStorage')
2
1091
* def db = new mystorage
17
1092
* def db = db.setfeature(karate.info.featureFileName)
8
1093
* def separator = java.lang.System.getProperty("file.separator")
1
1094
* def outputpath = db.outputpath()
1
1095
* eval db.ensureDirectory(outputpath)
1
1096
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1097
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1098
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1099
Given path 'geonetwork/srv/dut/inspire'
1
1100
And param service = 'CSW'
0
1101
And param version = '2.0.2'
0
1102
And param request = 'GetRecordById'
0
1103
And param id = '40c4ec8c-14b2-4104-982b-c0ebfd5397c4'
1
1104
And param elementsetname = 'full'
0
1105
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1106
When method get
2366
1107
Then status 200
0
1108
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40c4ec8c-14b2-4104-982b-c0ebfd5397c4'
1
1109
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1110
* def title = get response //citation/CI_Citation/title/CharacterString
0
1111
* def email = get response //electronicMailAddress/CharacterString
1
1112
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1113
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1114
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1115
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1116
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1117
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
1118
* print organisationpath
0
06:40:28.196 [print] Beheer PDOK
1119
* print operateson
0
06:40:28.196 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db8d613f-5edc-4467-9cc0-e2dcfb9d64a8#MD_DataIdentification
1120
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1121
* eval db.writeln('"40c4ec8c-14b2-4104-982b-c0ebfd5397c4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1122
* eval db.writeln('"40c4ec8c-14b2-4104-982b-c0ebfd5397c4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.34:18]bd14098b-44e6-47e5-959d-f40dda65da5a
ms: 2441
>>
Background:
1123
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1124
* def mystorage = Java.type('storage.DataStorage')
2
1125
* def db = new mystorage
17
1126
* def db = db.setfeature(karate.info.featureFileName)
8
1127
* def separator = java.lang.System.getProperty("file.separator")
1
1128
* def outputpath = db.outputpath()
1
1129
* eval db.ensureDirectory(outputpath)
1
1130
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1131
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1132
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1133
Given path 'geonetwork/srv/dut/inspire'
1
1134
And param service = 'CSW'
0
1135
And param version = '2.0.2'
0
1136
And param request = 'GetRecordById'
0
1137
And param id = 'bd14098b-44e6-47e5-959d-f40dda65da5a'
0
1138
And param elementsetname = 'full'
0
1139
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1140
When method get
2430
1141
Then status 200
0
1142
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bd14098b-44e6-47e5-959d-f40dda65da5a'
1
1143
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1144
* def title = get response //citation/CI_Citation/title/CharacterString
0
1145
* def email = get response //electronicMailAddress/CharacterString
0
1146
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1147
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1148
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1149
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1150
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1151
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1152
* print organisationpath
0
06:40:28.280 [print]
1153
* print operateson
0
06:40:28.280 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification
1154
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1155
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
1156
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.35:18]54d2021b-e778-4834-a3c6-75c89d36b942
ms: 2439
>>
Background:
1157
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1158
* def mystorage = Java.type('storage.DataStorage')
2
1159
* def db = new mystorage
17
1160
* def db = db.setfeature(karate.info.featureFileName)
8
1161
* def separator = java.lang.System.getProperty("file.separator")
1
1162
* def outputpath = db.outputpath()
1
1163
* eval db.ensureDirectory(outputpath)
1
1164
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1165
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1166
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1167
Given path 'geonetwork/srv/dut/inspire'
1
1168
And param service = 'CSW'
0
1169
And param version = '2.0.2'
0
1170
And param request = 'GetRecordById'
0
1171
And param id = '54d2021b-e778-4834-a3c6-75c89d36b942'
1
1172
And param elementsetname = 'full'
0
1173
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1174
When method get
2427
1175
Then status 200
0
1176
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54d2021b-e778-4834-a3c6-75c89d36b942'
1
1177
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1178
* def title = get response //citation/CI_Citation/title/CharacterString
0
1179
* def email = get response //electronicMailAddress/CharacterString
0
1180
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1181
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1182
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1183
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1184
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1185
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1186
* print organisationpath
0
06:40:28.455 [print] Beheer PDOK
1187
* print operateson
0
06:40:28.455 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2ae3e9b7-aa79-41d4-a35b-c9a0fee69e5c#MD_DataIdentification
1188
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1189
* eval db.writeln('"54d2021b-e778-4834-a3c6-75c89d36b942","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
1190
* eval db.writeln('"54d2021b-e778-4834-a3c6-75c89d36b942","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.36:18]e258f171-6f56-4d4d-8311-027b30213c2d
ms: 2245
>>
Background:
1191
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1192
* def mystorage = Java.type('storage.DataStorage')
2
1193
* def db = new mystorage
17
1194
* def db = db.setfeature(karate.info.featureFileName)
8
1195
* def separator = java.lang.System.getProperty("file.separator")
1
1196
* def outputpath = db.outputpath()
1
1197
* eval db.ensureDirectory(outputpath)
1
1198
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1199
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1200
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1201
Given path 'geonetwork/srv/dut/inspire'
3
1202
And param service = 'CSW'
0
1203
And param version = '2.0.2'
0
1204
And param request = 'GetRecordById'
0
1205
And param id = 'e258f171-6f56-4d4d-8311-027b30213c2d'
1
1206
And param elementsetname = 'full'
0
1207
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1208
When method get
2231
1209
Then status 200
0
1210
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e258f171-6f56-4d4d-8311-027b30213c2d'
1
1211
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1212
* def title = get response //citation/CI_Citation/title/CharacterString
0
1213
* def email = get response //electronicMailAddress/CharacterString
1
1214
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1215
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1216
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1217
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1218
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1219
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1220
* print organisationpath
0
06:40:28.376 [print]
1221
* print operateson
0
06:40:28.376 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
1222
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1223
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1224
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.37:18]3d01c1ca-973c-4652-baa5-39458bb9e181
ms: 2393
>>
Background:
1225
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1226
* def mystorage = Java.type('storage.DataStorage')
2
1227
* def db = new mystorage
17
1228
* def db = db.setfeature(karate.info.featureFileName)
8
1229
* def separator = java.lang.System.getProperty("file.separator")
1
1230
* def outputpath = db.outputpath()
1
1231
* eval db.ensureDirectory(outputpath)
1
1232
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1233
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1234
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1235
Given path 'geonetwork/srv/dut/inspire'
0
1236
And param service = 'CSW'
0
1237
And param version = '2.0.2'
0
1238
And param request = 'GetRecordById'
0
1239
And param id = '3d01c1ca-973c-4652-baa5-39458bb9e181'
1
1240
And param elementsetname = 'full'
0
1241
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1242
When method get
2379
1243
Then status 200
0
1244
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d01c1ca-973c-4652-baa5-39458bb9e181'
1
1245
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1246
* def title = get response //citation/CI_Citation/title/CharacterString
1
1247
* def email = get response //electronicMailAddress/CharacterString
1
1248
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1249
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1250
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1251
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1252
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1253
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1254
* print organisationpath
0
06:40:28.542 [print] Beheer PDOK
1255
* print operateson
0
06:40:28.543 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification
1256
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1257
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1258
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.38:18]94f241c2-43a2-42c3-8e9e-71976605aa0e
ms: 2280
>>
Background:
1259
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1260
* def mystorage = Java.type('storage.DataStorage')
2
1261
* def db = new mystorage
17
1262
* def db = db.setfeature(karate.info.featureFileName)
8
1263
* def separator = java.lang.System.getProperty("file.separator")
1
1264
* def outputpath = db.outputpath()
1
1265
* eval db.ensureDirectory(outputpath)
1
1266
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1267
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1268
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1269
Given path 'geonetwork/srv/dut/inspire'
1
1270
And param service = 'CSW'
0
1271
And param version = '2.0.2'
0
1272
And param request = 'GetRecordById'
0
1273
And param id = '94f241c2-43a2-42c3-8e9e-71976605aa0e'
6
1274
And param elementsetname = 'full'
0
1275
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1276
When method get
2244
1277
Then status 200
0
1278
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94f241c2-43a2-42c3-8e9e-71976605aa0e'
2
1279
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1280
* def title = get response //citation/CI_Citation/title/CharacterString
1
1281
* def email = get response //electronicMailAddress/CharacterString
1
1282
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1283
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1284
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1285
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1286
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1287
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1288
* print organisationpath
0
06:40:28.606 [print] Beheer PDOK
1289
* print operateson
0
06:40:28.606 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4b282988-cb91-4bbc-b147-f653014917cb#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=0558a41c-b09a-47fa-b8db-9de6bfe4f494#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification" ]
1290
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1291
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
1292
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
11
Scenario Outline: [1.39:18]a5437cb4-98ef-4c8e-a5ed-000e7a82b774
ms: 2315
>>
Background:
1293
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1294
* def mystorage = Java.type('storage.DataStorage')
2
1295
* def db = new mystorage
17
1296
* def db = db.setfeature(karate.info.featureFileName)
8
1297
* def separator = java.lang.System.getProperty("file.separator")
1
1298
* def outputpath = db.outputpath()
1
1299
* eval db.ensureDirectory(outputpath)
1
1300
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1301
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1302
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1303
Given path 'geonetwork/srv/dut/inspire'
1
1304
And param service = 'CSW'
0
1305
And param version = '2.0.2'
0
1306
And param request = 'GetRecordById'
0
1307
And param id = 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774'
1
1308
And param elementsetname = 'full'
0
1309
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1310
When method get
2295
1311
Then status 200
0
1312
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774'
1
1313
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1314
* def title = get response //citation/CI_Citation/title/CharacterString
1
1315
* def email = get response //electronicMailAddress/CharacterString
1
1316
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
1317
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1318
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1319
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1320
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
5
1321
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1322
* print organisationpath
0
06:40:28.841 [print]
1323
* print operateson
0
06:40:28.841 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification
1324
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1325
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1326
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.40:18]91041d33-54f8-40f1-8965-a867ba00cab8
ms: 2181
>>
Background:
1327
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1328
* def mystorage = Java.type('storage.DataStorage')
2
1329
* def db = new mystorage
17
1330
* def db = db.setfeature(karate.info.featureFileName)
8
1331
* def separator = java.lang.System.getProperty("file.separator")
1
1332
* def outputpath = db.outputpath()
1
1333
* eval db.ensureDirectory(outputpath)
1
1334
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1335
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1336
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1337
Given path 'geonetwork/srv/dut/inspire'
1
1338
And param service = 'CSW'
0
1339
And param version = '2.0.2'
0
1340
And param request = 'GetRecordById'
0
1341
And param id = '91041d33-54f8-40f1-8965-a867ba00cab8'
0
1342
And param elementsetname = 'full'
0
1343
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1344
When method get
2170
1345
Then status 200
0
1346
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '91041d33-54f8-40f1-8965-a867ba00cab8'
1
1347
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1348
* def title = get response //citation/CI_Citation/title/CharacterString
0
1349
* def email = get response //electronicMailAddress/CharacterString
0
1350
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1351
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1352
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1353
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1354
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1355
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1356
* print organisationpath
0
06:40:28.715 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1357
* print operateson
0
06:40:28.715 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification
1358
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1359
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1360
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.41:18]e9ba7d7f-6cd1-4271-bce4-56432924b338
ms: 2177
>>
Background:
1361
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1362
* def mystorage = Java.type('storage.DataStorage')
2
1363
* def db = new mystorage
17
1364
* def db = db.setfeature(karate.info.featureFileName)
8
1365
* def separator = java.lang.System.getProperty("file.separator")
1
1366
* def outputpath = db.outputpath()
1
1367
* eval db.ensureDirectory(outputpath)
1
1368
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1369
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1370
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1371
Given path 'geonetwork/srv/dut/inspire'
1
1372
And param service = 'CSW'
0
1373
And param version = '2.0.2'
0
1374
And param request = 'GetRecordById'
0
1375
And param id = 'e9ba7d7f-6cd1-4271-bce4-56432924b338'
1
1376
And param elementsetname = 'full'
0
1377
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1378
When method get
2100
1379
Then status 200
0
1380
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e9ba7d7f-6cd1-4271-bce4-56432924b338'
62
1381
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1382
* def title = get response //citation/CI_Citation/title/CharacterString
0
1383
* def email = get response //electronicMailAddress/CharacterString
1
1384
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1385
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1386
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1387
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1388
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
4
1389
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1390
* print organisationpath
0
06:40:28.831 [print] Beheer PDOK
1391
* print operateson
0
06:40:28.832 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification
1392
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1393
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1394
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.42:18]972edbaa-f860-4c48-b449-4f238a263472
ms: 2163
>>
Background:
1395
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1396
* def mystorage = Java.type('storage.DataStorage')
2
1397
* def db = new mystorage
17
1398
* def db = db.setfeature(karate.info.featureFileName)
8
1399
* def separator = java.lang.System.getProperty("file.separator")
1
1400
* def outputpath = db.outputpath()
1
1401
* eval db.ensureDirectory(outputpath)
1
1402
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1403
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1404
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1405
Given path 'geonetwork/srv/dut/inspire'
1
1406
And param service = 'CSW'
0
1407
And param version = '2.0.2'
0
1408
And param request = 'GetRecordById'
0
1409
And param id = '972edbaa-f860-4c48-b449-4f238a263472'
1
1410
And param elementsetname = 'full'
0
1411
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1412
When method get
2151
1413
Then status 200
0
1414
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '972edbaa-f860-4c48-b449-4f238a263472'
1
1415
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1416
* def title = get response //citation/CI_Citation/title/CharacterString
0
1417
* def email = get response //electronicMailAddress/CharacterString
0
1418
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1419
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1420
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1421
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1422
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1423
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1424
* print organisationpath
0
06:40:28.861 [print] Beheer PDOK
1425
* print operateson
0
06:40:28.861 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification
1426
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1427
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1428
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.43:18]488c1e6d-363e-4476-b2ff-17756ac9b35f
ms: 2110
>>
Background:
1429
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1430
* def mystorage = Java.type('storage.DataStorage')
2
1431
* def db = new mystorage
17
1432
* def db = db.setfeature(karate.info.featureFileName)
8
1433
* def separator = java.lang.System.getProperty("file.separator")
1
1434
* def outputpath = db.outputpath()
1
1435
* eval db.ensureDirectory(outputpath)
1
1436
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1437
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1438
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1439
Given path 'geonetwork/srv/dut/inspire'
1
1440
And param service = 'CSW'
0
1441
And param version = '2.0.2'
0
1442
And param request = 'GetRecordById'
0
1443
And param id = '488c1e6d-363e-4476-b2ff-17756ac9b35f'
1
1444
And param elementsetname = 'full'
0
1445
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1446
When method get
2094
1447
Then status 200
0
1448
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '488c1e6d-363e-4476-b2ff-17756ac9b35f'
1
1449
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1450
* def title = get response //citation/CI_Citation/title/CharacterString
1
1451
* def email = get response //electronicMailAddress/CharacterString
1
1452
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1453
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1454
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1455
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1456
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1457
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1458
* print organisationpath
0
06:40:29.005 [print] Beheer PDOK
1459
* print operateson
0
06:40:29.005 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification
1460
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1461
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1462
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.44:18]b7880739-a701-4cc0-bb32-2bba61fa8924
ms: 2087
>>
Background:
1463
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1464
* def mystorage = Java.type('storage.DataStorage')
2
1465
* def db = new mystorage
17
1466
* def db = db.setfeature(karate.info.featureFileName)
8
1467
* def separator = java.lang.System.getProperty("file.separator")
1
1468
* def outputpath = db.outputpath()
1
1469
* eval db.ensureDirectory(outputpath)
1
1470
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1471
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1472
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1473
Given path 'geonetwork/srv/dut/inspire'
1
1474
And param service = 'CSW'
0
1475
And param version = '2.0.2'
0
1476
And param request = 'GetRecordById'
0
1477
And param id = 'b7880739-a701-4cc0-bb32-2bba61fa8924'
0
1478
And param elementsetname = 'full'
0
1479
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1480
When method get
2076
1481
Then status 200
0
1482
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b7880739-a701-4cc0-bb32-2bba61fa8924'
1
1483
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1484
* def title = get response //citation/CI_Citation/title/CharacterString
0
1485
* def email = get response //electronicMailAddress/CharacterString
0
1486
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1487
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1488
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1489
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1490
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1491
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1492
* print organisationpath
1
06:40:29.097 [print] TNO Geologische Dienst Nederland
1493
* print operateson
0
06:40:29.097 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1494
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1495
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1496
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.45:18]7b4a0b26-5885-45cd-a99d-27887cff68e5
ms: 2055
>>
Background:
1497
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1498
* def mystorage = Java.type('storage.DataStorage')
2
1499
* def db = new mystorage
17
1500
* def db = db.setfeature(karate.info.featureFileName)
8
1501
* def separator = java.lang.System.getProperty("file.separator")
1
1502
* def outputpath = db.outputpath()
1
1503
* eval db.ensureDirectory(outputpath)
1
1504
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1505
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1506
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1507
Given path 'geonetwork/srv/dut/inspire'
1
1508
And param service = 'CSW'
0
1509
And param version = '2.0.2'
0
1510
And param request = 'GetRecordById'
0
1511
And param id = '7b4a0b26-5885-45cd-a99d-27887cff68e5'
1
1512
And param elementsetname = 'full'
0
1513
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1514
When method get
2043
1515
Then status 200
0
1516
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b4a0b26-5885-45cd-a99d-27887cff68e5'
1
1517
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1518
* def title = get response //citation/CI_Citation/title/CharacterString
0
1519
* def email = get response //electronicMailAddress/CharacterString
0
1520
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1521
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1522
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1523
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1524
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1525
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1526
* print organisationpath
0
06:40:29.159 [print] TNO Geologische Dienst Nederland
1527
* print operateson
0
06:40:29.159 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1528
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1529
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1530
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.46:18]35359958-c40a-486f-9cf5-567a94de905e
ms: 1859
>>
Background:
1531
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1532
* def mystorage = Java.type('storage.DataStorage')
2
1533
* def db = new mystorage
17
1534
* def db = db.setfeature(karate.info.featureFileName)
8
1535
* def separator = java.lang.System.getProperty("file.separator")
1
1536
* def outputpath = db.outputpath()
1
1537
* eval db.ensureDirectory(outputpath)
1
1538
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1539
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1540
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1541
Given path 'geonetwork/srv/dut/inspire'
1
1542
And param service = 'CSW'
0
1543
And param version = '2.0.2'
0
1544
And param request = 'GetRecordById'
0
1545
And param id = '35359958-c40a-486f-9cf5-567a94de905e'
1
1546
And param elementsetname = 'full'
0
1547
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1548
When method get
1844
1549
Then status 200
0
1550
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '35359958-c40a-486f-9cf5-567a94de905e'
1
1551
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1552
* def title = get response //citation/CI_Citation/title/CharacterString
6
1553
* def email = get response //electronicMailAddress/CharacterString
0
1554
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1555
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1556
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1557
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1558
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1559
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1560
* print organisationpath
0
06:40:29.127 [print] Beheer PDOK
1561
* print operateson
0
06:40:29.127 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c5c4a6d6-b850-473c-8ab5-af9c2c550809#MD_DataIdentification
1562
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1563
* eval db.writeln('"35359958-c40a-486f-9cf5-567a94de905e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1564
* eval db.writeln('"35359958-c40a-486f-9cf5-567a94de905e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.47:18]c3ee15e4-38bf-4d54-9c0b-cfe0e609d448
ms: 2134
>>
Background:
1565
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1566
* def mystorage = Java.type('storage.DataStorage')
2
1567
* def db = new mystorage
17
1568
* def db = db.setfeature(karate.info.featureFileName)
8
1569
* def separator = java.lang.System.getProperty("file.separator")
1
1570
* def outputpath = db.outputpath()
1
1571
* eval db.ensureDirectory(outputpath)
1
1572
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1573
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1574
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1575
Given path 'geonetwork/srv/dut/inspire'
0
1576
And param service = 'CSW'
0
1577
And param version = '2.0.2'
0
1578
And param request = 'GetRecordById'
0
1579
And param id = 'c3ee15e4-38bf-4d54-9c0b-cfe0e609d448'
0
1580
And param elementsetname = 'full'
0
1581
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1582
When method get
2106
1583
Then status 200
0
1584
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c3ee15e4-38bf-4d54-9c0b-cfe0e609d448'
2
1585
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1586
* def title = get response //citation/CI_Citation/title/CharacterString
1
1587
* def email = get response //electronicMailAddress/CharacterString
1
1588
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1589
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1590
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1591
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1592
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1593
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1594
* print organisationpath
0
06:40:29.400 [print] Beheer PDOK
1595
* print operateson
0
06:40:29.401 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b9dd8575-3c1c-41f4-add5-c4f5f2b67179#MD_DataIdentification", "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00fd1fc4-c190-4fa6-a68f-606c64a16679#MD_DataIdentification", "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00b0a2bf-57ce-44c9-b94c-f6c9a41f5c61#MD_DataIdentification", "https://www.nationaalgeoregister.n/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=da237167-7f87-4310-ad64-614233de7a42#MD_DataIdentification" ]
1596
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1597
* eval db.writeln('"c3ee15e4-38bf-4d54-9c0b-cfe0e609d448","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
8
1598
* eval db.writeln('"c3ee15e4-38bf-4d54-9c0b-cfe0e609d448","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.48:18]280cee65-1b66-4973-a569-75122e0b745b
ms: 2087
>>
Background:
1599
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1600
* def mystorage = Java.type('storage.DataStorage')
2
1601
* def db = new mystorage
17
1602
* def db = db.setfeature(karate.info.featureFileName)
8
1603
* def separator = java.lang.System.getProperty("file.separator")
1
1604
* def outputpath = db.outputpath()
1
1605
* eval db.ensureDirectory(outputpath)
1
1606
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1607
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1608
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1609
Given path 'geonetwork/srv/dut/inspire'
0
1610
And param service = 'CSW'
0
1611
And param version = '2.0.2'
0
1612
And param request = 'GetRecordById'
0
1613
And param id = '280cee65-1b66-4973-a569-75122e0b745b'
1
1614
And param elementsetname = 'full'
0
1615
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1616
When method get
2075
1617
Then status 200
0
1618
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '280cee65-1b66-4973-a569-75122e0b745b'
1
1619
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1620
* def title = get response //citation/CI_Citation/title/CharacterString
0
1621
* def email = get response //electronicMailAddress/CharacterString
0
1622
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1623
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1624
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1625
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1626
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1627
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1628
* print organisationpath
0
06:40:29.417 [print]
1629
* print operateson
0
06:40:29.417 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification" ]
1630
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1631
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
1632
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.49:18]d4dded2c-65ec-4e13-897e-03278d53a958
ms: 2031
>>
Background:
1633
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1634
* def mystorage = Java.type('storage.DataStorage')
2
1635
* def db = new mystorage
17
1636
* def db = db.setfeature(karate.info.featureFileName)
8
1637
* def separator = java.lang.System.getProperty("file.separator")
1
1638
* def outputpath = db.outputpath()
1
1639
* eval db.ensureDirectory(outputpath)
1
1640
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1641
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1642
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1643
Given path 'geonetwork/srv/dut/inspire'
0
1644
And param service = 'CSW'
0
1645
And param version = '2.0.2'
0
1646
And param request = 'GetRecordById'
0
1647
And param id = 'd4dded2c-65ec-4e13-897e-03278d53a958'
0
1648
And param elementsetname = 'full'
0
1649
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1650
When method get
2019
1651
Then status 200
0
1652
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd4dded2c-65ec-4e13-897e-03278d53a958'
1
1653
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1654
* def title = get response //citation/CI_Citation/title/CharacterString
0
1655
* def email = get response //electronicMailAddress/CharacterString
0
1656
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1657
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1658
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1659
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1660
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1661
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1662
* print organisationpath
0
06:40:29.401 [print]
1663
* print operateson
0
06:40:29.401 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1664
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1665
* eval db.writeln('"d4dded2c-65ec-4e13-897e-03278d53a958","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1666
* eval db.writeln('"d4dded2c-65ec-4e13-897e-03278d53a958","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.50:18]2d1860f2-f8ba-457e-bd64-93cdabd69aee
ms: 1784
>>
Background:
1667
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1668
* def mystorage = Java.type('storage.DataStorage')
2
1669
* def db = new mystorage
17
1670
* def db = db.setfeature(karate.info.featureFileName)
8
1671
* def separator = java.lang.System.getProperty("file.separator")
1
1672
* def outputpath = db.outputpath()
1
1673
* eval db.ensureDirectory(outputpath)
1
1674
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1675
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1676
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1677
Given path 'geonetwork/srv/dut/inspire'
0
1678
And param service = 'CSW'
0
1679
And param version = '2.0.2'
0
1680
And param request = 'GetRecordById'
0
1681
And param id = '2d1860f2-f8ba-457e-bd64-93cdabd69aee'
0
1682
And param elementsetname = 'full'
0
1683
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1684
When method get
1774
1685
Then status 200
0
1686
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2d1860f2-f8ba-457e-bd64-93cdabd69aee'
1
1687
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1688
* def title = get response //citation/CI_Citation/title/CharacterString
0
1689
* def email = get response //electronicMailAddress/CharacterString
0
1690
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1691
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1692
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1693
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1694
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1695
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1696
* print organisationpath
0
06:40:29.503 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1697
* print operateson
0
06:40:29.503 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification
1698
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1699
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1700
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.51:18]180b6682-5d6f-429d-abb7-32f7d6253787
ms: 1912
>>
Background:
1701
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1702
* def mystorage = Java.type('storage.DataStorage')
2
1703
* def db = new mystorage
17
1704
* def db = db.setfeature(karate.info.featureFileName)
8
1705
* def separator = java.lang.System.getProperty("file.separator")
1
1706
* def outputpath = db.outputpath()
1
1707
* eval db.ensureDirectory(outputpath)
1
1708
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1709
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1710
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1711
Given path 'geonetwork/srv/dut/inspire'
0
1712
And param service = 'CSW'
0
1713
And param version = '2.0.2'
0
1714
And param request = 'GetRecordById'
0
1715
And param id = '180b6682-5d6f-429d-abb7-32f7d6253787'
0
1716
And param elementsetname = 'full'
0
1717
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1718
When method get
1900
1719
Then status 200
0
1720
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '180b6682-5d6f-429d-abb7-32f7d6253787'
1
1721
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1722
* def title = get response //citation/CI_Citation/title/CharacterString
0
1723
* def email = get response //electronicMailAddress/CharacterString
0
1724
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1725
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1726
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1727
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1728
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1729
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
1730
* print organisationpath
0
06:40:29.648 [print] Beheer PDOK
1731
* print operateson
0
06:40:29.648 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification
1732
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1733
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1734
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.52:18]f39d198a-1e69-43cc-b359-cc60a8c22d28
ms: 1825
>>
Background:
1735
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1736
* def mystorage = Java.type('storage.DataStorage')
2
1737
* def db = new mystorage
17
1738
* def db = db.setfeature(karate.info.featureFileName)
8
1739
* def separator = java.lang.System.getProperty("file.separator")
1
1740
* def outputpath = db.outputpath()
1
1741
* eval db.ensureDirectory(outputpath)
1
1742
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1743
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1744
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1745
Given path 'geonetwork/srv/dut/inspire'
0
1746
And param service = 'CSW'
0
1747
And param version = '2.0.2'
0
1748
And param request = 'GetRecordById'
0
1749
And param id = 'f39d198a-1e69-43cc-b359-cc60a8c22d28'
1
1750
And param elementsetname = 'full'
0
1751
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1752
When method get
1809
1753
Then status 200
0
1754
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f39d198a-1e69-43cc-b359-cc60a8c22d28'
1
1755
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1756
* def title = get response //citation/CI_Citation/title/CharacterString
0
1757
* def email = get response //electronicMailAddress/CharacterString
0
1758
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1759
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1760
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1761
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1762
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1763
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1764
* print organisationpath
0
06:40:29.581 [print]
1765
* print operateson
0
06:40:29.581 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=733559a5-201d-40e5-ad43-d1c7bae84d9f#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=af135cd8-d429-4fc7-b9e3-09e15217520d#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3ec8793-7747-4da0-b6c3-aa384446a586#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5800f3b0-2ea2-4231-8165-216a7b26867f#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d8f370e8-123c-4ab3-9410-04f728327ac6#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=500d396f-5ec6-4e4b-a151-5fb3cddd8082#MD_DataIdentification" ]
1766
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1767
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
8
1768
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.53:18]ca71572f-a498-4ca6-aa60-d4c4c4d59e2e
ms: 1919
>>
Background:
1769
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1770
* def mystorage = Java.type('storage.DataStorage')
2
1771
* def db = new mystorage
17
1772
* def db = db.setfeature(karate.info.featureFileName)
8
1773
* def separator = java.lang.System.getProperty("file.separator")
1
1774
* def outputpath = db.outputpath()
1
1775
* eval db.ensureDirectory(outputpath)
1
1776
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1777
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1778
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1779
Given path 'geonetwork/srv/dut/inspire'
0
1780
And param service = 'CSW'
0
1781
And param version = '2.0.2'
0
1782
And param request = 'GetRecordById'
0
1783
And param id = 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e'
1
1784
And param elementsetname = 'full'
0
1785
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1786
When method get
1907
1787
Then status 200
0
1788
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e'
1
1789
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1790
* def title = get response //citation/CI_Citation/title/CharacterString
0
1791
* def email = get response //electronicMailAddress/CharacterString
1
1792
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1793
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1794
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1795
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1796
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1797
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1798
* print organisationpath
0
06:40:29.731 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1799
* print operateson
0
06:40:29.731 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification
1800
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1801
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1802
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.54:18]bfcc588f-9393-4c70-b989-d9e92ac2f493
ms: 1779
>>
Background:
1803
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1804
* def mystorage = Java.type('storage.DataStorage')
2
1805
* def db = new mystorage
17
1806
* def db = db.setfeature(karate.info.featureFileName)
8
1807
* def separator = java.lang.System.getProperty("file.separator")
1
1808
* def outputpath = db.outputpath()
1
1809
* eval db.ensureDirectory(outputpath)
1
1810
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1811
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1812
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1813
Given path 'geonetwork/srv/dut/inspire'
1
1814
And param service = 'CSW'
0
1815
And param version = '2.0.2'
0
1816
And param request = 'GetRecordById'
0
1817
And param id = 'bfcc588f-9393-4c70-b989-d9e92ac2f493'
1
1818
And param elementsetname = 'full'
0
1819
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1820
When method get
1765
1821
Then status 200
0
1822
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bfcc588f-9393-4c70-b989-d9e92ac2f493'
2
1823
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1824
* def title = get response //citation/CI_Citation/title/CharacterString
1
1825
* def email = get response //electronicMailAddress/CharacterString
1
1826
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1827
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1828
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1829
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1830
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1831
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1832
* print organisationpath
0
06:40:29.823 [print] Beheer PDOK
1833
* print operateson
0
06:40:29.823 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification
1834
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1835
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1836
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.55:18]27430d0d-e4da-4f94-ba18-7ff01d86c19e
ms: 1872
>>
Background:
1837
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1838
* def mystorage = Java.type('storage.DataStorage')
2
1839
* def db = new mystorage
17
1840
* def db = db.setfeature(karate.info.featureFileName)
8
1841
* def separator = java.lang.System.getProperty("file.separator")
1
1842
* def outputpath = db.outputpath()
1
1843
* eval db.ensureDirectory(outputpath)
1
1844
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1845
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1846
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1847
Given path 'geonetwork/srv/dut/inspire'
2
1848
And param service = 'CSW'
0
1849
And param version = '2.0.2'
0
1850
And param request = 'GetRecordById'
0
1851
And param id = '27430d0d-e4da-4f94-ba18-7ff01d86c19e'
1
1852
And param elementsetname = 'full'
0
1853
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1854
When method get
1846
1855
Then status 200
0
1856
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '27430d0d-e4da-4f94-ba18-7ff01d86c19e'
1
1857
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1858
* def title = get response //citation/CI_Citation/title/CharacterString
0
1859
* def email = get response //electronicMailAddress/CharacterString
0
1860
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1861
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1862
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1863
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1864
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
9
1865
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1866
* print organisationpath
0
06:40:29.949 [print] TNO Geologische Dienst Nederland
1867
* print operateson
0
06:40:29.950 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1868
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1869
* eval db.writeln('"27430d0d-e4da-4f94-ba18-7ff01d86c19e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1870
* eval db.writeln('"27430d0d-e4da-4f94-ba18-7ff01d86c19e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.56:18]3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd
ms: 1855
>>
Background:
1871
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1872
* def mystorage = Java.type('storage.DataStorage')
2
1873
* def db = new mystorage
17
1874
* def db = db.setfeature(karate.info.featureFileName)
8
1875
* def separator = java.lang.System.getProperty("file.separator")
1
1876
* def outputpath = db.outputpath()
1
1877
* eval db.ensureDirectory(outputpath)
1
1878
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1879
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1880
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1881
Given path 'geonetwork/srv/dut/inspire'
5
1882
And param service = 'CSW'
0
1883
And param version = '2.0.2'
0
1884
And param request = 'GetRecordById'
0
1885
And param id = '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd'
0
1886
And param elementsetname = 'full'
0
1887
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1888
When method get
1836
1889
Then status 200
0
1890
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd'
1
1891
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1892
* def title = get response //citation/CI_Citation/title/CharacterString
0
1893
* def email = get response //electronicMailAddress/CharacterString
0
1894
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1895
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1896
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1897
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1898
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1899
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1900
* print organisationpath
0
06:40:30.049 [print] Beheer PDOK
1901
* print operateson
0
06:40:30.049 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification
1902
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1903
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1904
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.57:18]e29b19de-d191-47f2-b944-5056a7674cce
ms: 1754
>>
Background:
1905
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1906
* def mystorage = Java.type('storage.DataStorage')
2
1907
* def db = new mystorage
17
1908
* def db = db.setfeature(karate.info.featureFileName)
8
1909
* def separator = java.lang.System.getProperty("file.separator")
1
1910
* def outputpath = db.outputpath()
1
1911
* eval db.ensureDirectory(outputpath)
1
1912
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1913
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1914
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1915
Given path 'geonetwork/srv/dut/inspire'
0
1916
And param service = 'CSW'
0
1917
And param version = '2.0.2'
0
1918
And param request = 'GetRecordById'
0
1919
And param id = 'e29b19de-d191-47f2-b944-5056a7674cce'
0
1920
And param elementsetname = 'full'
0
1921
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1922
When method get
1735
1923
Then status 200
0
1924
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e29b19de-d191-47f2-b944-5056a7674cce'
1
1925
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1926
* def title = get response //citation/CI_Citation/title/CharacterString
0
1927
* def email = get response //electronicMailAddress/CharacterString
0
1928
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1929
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1930
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1931
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1932
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1933
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1934
* print organisationpath
0
06:40:29.946 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1935
* print operateson
0
06:40:29.946 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification
1936
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1937
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
1938
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.58:18]ca9f6d28-b548-41dc-a862-52daa86d1834
ms: 1937
>>
Background:
1939
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1940
* def mystorage = Java.type('storage.DataStorage')
2
1941
* def db = new mystorage
17
1942
* def db = db.setfeature(karate.info.featureFileName)
8
1943
* def separator = java.lang.System.getProperty("file.separator")
1
1944
* def outputpath = db.outputpath()
1
1945
* eval db.ensureDirectory(outputpath)
1
1946
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1947
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1948
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1949
Given path 'geonetwork/srv/dut/inspire'
1
1950
And param service = 'CSW'
0
1951
And param version = '2.0.2'
0
1952
And param request = 'GetRecordById'
0
1953
And param id = 'ca9f6d28-b548-41dc-a862-52daa86d1834'
0
1954
And param elementsetname = 'full'
0
1955
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1956
When method get
1925
1957
Then status 200
0
1958
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca9f6d28-b548-41dc-a862-52daa86d1834'
1
1959
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1960
* def title = get response //citation/CI_Citation/title/CharacterString
1
1961
* def email = get response //electronicMailAddress/CharacterString
1
1962
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1963
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1964
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1965
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1966
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1967
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1968
* print organisationpath
0
06:40:30.217 [print] Beheer PDOK
1969
* print operateson
0
06:40:30.218 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=26103042-50a1-4ee5-9c5b-857a2f8b7680#MD_DataIdentification
1970
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1971
* eval db.writeln('"ca9f6d28-b548-41dc-a862-52daa86d1834","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
1972
* eval db.writeln('"ca9f6d28-b548-41dc-a862-52daa86d1834","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.59:18]93a9571d-1754-47ee-a8f9-92633abfab3a
ms: 1770
>>
Background:
1973
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
1974
* def mystorage = Java.type('storage.DataStorage')
2
1975
* def db = new mystorage
17
1976
* def db = db.setfeature(karate.info.featureFileName)
8
1977
* def separator = java.lang.System.getProperty("file.separator")
1
1978
* def outputpath = db.outputpath()
1
1979
* eval db.ensureDirectory(outputpath)
1
1980
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1981
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1982
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1983
Given path 'geonetwork/srv/dut/inspire'
1
1984
And param service = 'CSW'
0
1985
And param version = '2.0.2'
0
1986
And param request = 'GetRecordById'
0
1987
And param id = '93a9571d-1754-47ee-a8f9-92633abfab3a'
1
1988
And param elementsetname = 'full'
0
1989
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1990
When method get
1761
1991
Then status 200
0
1992
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93a9571d-1754-47ee-a8f9-92633abfab3a'
1
1993
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1994
* def title = get response //citation/CI_Citation/title/CharacterString
0
1995
* def email = get response //electronicMailAddress/CharacterString
0
1996
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1997
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1998
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1999
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2000
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2001
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2002
* print organisationpath
0
06:40:30.149 [print]
2003
* print operateson
0
06:40:30.149 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3703b249-a0eb-484e-ba7a-10e31a55bcec&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2004
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2005
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2006
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.60:18]542b330b-d3c6-4617-b97f-693e5cfd1872
ms: 1810
>>
Background:
2007
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2008
* def mystorage = Java.type('storage.DataStorage')
2
2009
* def db = new mystorage
17
2010
* def db = db.setfeature(karate.info.featureFileName)
8
2011
* def separator = java.lang.System.getProperty("file.separator")
1
2012
* def outputpath = db.outputpath()
1
2013
* eval db.ensureDirectory(outputpath)
1
2014
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2015
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2016
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2017
Given path 'geonetwork/srv/dut/inspire'
1
2018
And param service = 'CSW'
0
2019
And param version = '2.0.2'
0
2020
And param request = 'GetRecordById'
0
2021
And param id = '542b330b-d3c6-4617-b97f-693e5cfd1872'
1
2022
And param elementsetname = 'full'
0
2023
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2024
When method get
1799
2025
Then status 200
0
2026
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '542b330b-d3c6-4617-b97f-693e5cfd1872'
1
2027
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2028
* def title = get response //citation/CI_Citation/title/CharacterString
0
2029
* def email = get response //electronicMailAddress/CharacterString
0
2030
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2031
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2032
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2033
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2034
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2035
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2036
* print organisationpath
0
06:40:30.268 [print] TNO Geologische Dienst Nederland
2037
* print operateson
0
06:40:30.268 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2038
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2039
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2040
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.61:18]ceda1b88-32ac-40b2-a841-71eb041c9427
ms: 1839
>>
Background:
2041
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2042
* def mystorage = Java.type('storage.DataStorage')
2
2043
* def db = new mystorage
17
2044
* def db = db.setfeature(karate.info.featureFileName)
8
2045
* def separator = java.lang.System.getProperty("file.separator")
1
2046
* def outputpath = db.outputpath()
1
2047
* eval db.ensureDirectory(outputpath)
1
2048
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2049
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2050
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2051
Given path 'geonetwork/srv/dut/inspire'
0
2052
And param service = 'CSW'
0
2053
And param version = '2.0.2'
0
2054
And param request = 'GetRecordById'
0
2055
And param id = 'ceda1b88-32ac-40b2-a841-71eb041c9427'
0
2056
And param elementsetname = 'full'
0
2057
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2058
When method get
1826
2059
Then status 200
0
2060
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ceda1b88-32ac-40b2-a841-71eb041c9427'
1
2061
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2062
* def title = get response //citation/CI_Citation/title/CharacterString
1
2063
* def email = get response //electronicMailAddress/CharacterString
1
2064
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2065
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2066
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2067
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2068
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2069
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2070
* print organisationpath
0
06:40:30.383 [print] Beheer PDOK
2071
* print operateson
0
06:40:30.383 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification" ]
2072
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2073
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2074
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.62:18]081bcfff-5f66-467c-95d0-d88dcf9aa4cf
ms: 1947
>>
Background:
2075
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2076
* def mystorage = Java.type('storage.DataStorage')
2
2077
* def db = new mystorage
17
2078
* def db = db.setfeature(karate.info.featureFileName)
8
2079
* def separator = java.lang.System.getProperty("file.separator")
1
2080
* def outputpath = db.outputpath()
1
2081
* eval db.ensureDirectory(outputpath)
1
2082
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2083
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2084
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2085
Given path 'geonetwork/srv/dut/inspire'
1
2086
And param service = 'CSW'
0
2087
And param version = '2.0.2'
0
2088
And param request = 'GetRecordById'
0
2089
And param id = '081bcfff-5f66-467c-95d0-d88dcf9aa4cf'
1
2090
And param elementsetname = 'full'
0
2091
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2092
When method get
1936
2093
Then status 200
0
2094
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '081bcfff-5f66-467c-95d0-d88dcf9aa4cf'
1
2095
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2096
* def title = get response //citation/CI_Citation/title/CharacterString
0
2097
* def email = get response //electronicMailAddress/CharacterString
0
2098
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2099
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2100
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2101
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2102
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2103
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2104
* print organisationpath
0
06:40:30.566 [print]
2105
* print operateson
0
06:40:30.566 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification
2106
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2107
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2108
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.63:18]dda53ebc-bee7-4765-8f1f-6ac59b0aec39
ms: 1790
>>
Background:
2109
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2110
* def mystorage = Java.type('storage.DataStorage')
2
2111
* def db = new mystorage
17
2112
* def db = db.setfeature(karate.info.featureFileName)
8
2113
* def separator = java.lang.System.getProperty("file.separator")
1
2114
* def outputpath = db.outputpath()
1
2115
* eval db.ensureDirectory(outputpath)
1
2116
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2117
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2118
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2119
Given path 'geonetwork/srv/dut/inspire'
21
2120
And param service = 'CSW'
0
2121
And param version = '2.0.2'
0
2122
And param request = 'GetRecordById'
0
2123
And param id = 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39'
0
2124
And param elementsetname = 'full'
0
2125
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2126
When method get
1758
2127
Then status 200
0
2128
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39'
1
2129
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2130
* def title = get response //citation/CI_Citation/title/CharacterString
0
2131
* def email = get response //electronicMailAddress/CharacterString
0
2132
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2133
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2134
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2135
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2136
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2137
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2138
* print organisationpath
2
06:40:30.596 [print] TNO Geologische Dienst Nederland
2139
* print operateson
0
06:40:30.596 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2140
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2141
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2142
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.64:18]62dc32f1-853c-416a-876b-6e083554f1b6
ms: 1695
>>
Background:
2143
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2144
* def mystorage = Java.type('storage.DataStorage')
2
2145
* def db = new mystorage
17
2146
* def db = db.setfeature(karate.info.featureFileName)
8
2147
* def separator = java.lang.System.getProperty("file.separator")
1
2148
* def outputpath = db.outputpath()
1
2149
* eval db.ensureDirectory(outputpath)
1
2150
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2151
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2152
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2153
Given path 'geonetwork/srv/dut/inspire'
0
2154
And param service = 'CSW'
0
2155
And param version = '2.0.2'
0
2156
And param request = 'GetRecordById'
0
2157
And param id = '62dc32f1-853c-416a-876b-6e083554f1b6'
1
2158
And param elementsetname = 'full'
0
2159
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2160
When method get
1685
2161
Then status 200
0
2162
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62dc32f1-853c-416a-876b-6e083554f1b6'
1
2163
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2164
* def title = get response //citation/CI_Citation/title/CharacterString
0
2165
* def email = get response //electronicMailAddress/CharacterString
1
2166
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2167
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2168
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2169
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2170
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2171
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2172
* print organisationpath
0
06:40:30.528 [print] Beheer PDOK
2173
* print operateson
0
06:40:30.528 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification
2174
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2175
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2176
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.65:18]3e65fa1b-9bb1-41bd-9760-76962751b839
ms: 1812
>>
Background:
2177
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2178
* def mystorage = Java.type('storage.DataStorage')
2
2179
* def db = new mystorage
17
2180
* def db = db.setfeature(karate.info.featureFileName)
8
2181
* def separator = java.lang.System.getProperty("file.separator")
1
2182
* def outputpath = db.outputpath()
1
2183
* eval db.ensureDirectory(outputpath)
1
2184
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2185
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2186
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2187
Given path 'geonetwork/srv/dut/inspire'
1
2188
And param service = 'CSW'
0
2189
And param version = '2.0.2'
0
2190
And param request = 'GetRecordById'
0
2191
And param id = '3e65fa1b-9bb1-41bd-9760-76962751b839'
1
2192
And param elementsetname = 'full'
0
2193
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2194
When method get
1802
2195
Then status 200
0
2196
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3e65fa1b-9bb1-41bd-9760-76962751b839'
1
2197
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2198
* def title = get response //citation/CI_Citation/title/CharacterString
0
2199
* def email = get response //electronicMailAddress/CharacterString
0
2200
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2201
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2202
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2203
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2204
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2205
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2206
* print organisationpath
0
06:40:30.654 [print] Beheer PDOK
2207
* print operateson
0
06:40:30.654 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification
2208
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2209
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2210
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.66:18]923a666c-ee4f-496c-8c85-94d5f81e1f30
ms: 2048
>>
Background:
2211
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2212
* def mystorage = Java.type('storage.DataStorage')
2
2213
* def db = new mystorage
17
2214
* def db = db.setfeature(karate.info.featureFileName)
8
2215
* def separator = java.lang.System.getProperty("file.separator")
1
2216
* def outputpath = db.outputpath()
1
2217
* eval db.ensureDirectory(outputpath)
1
2218
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2219
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2220
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2221
Given path 'geonetwork/srv/dut/inspire'
0
2222
And param service = 'CSW'
0
2223
And param version = '2.0.2'
0
2224
And param request = 'GetRecordById'
0
2225
And param id = '923a666c-ee4f-496c-8c85-94d5f81e1f30'
1
2226
And param elementsetname = 'full'
0
2227
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2228
When method get
2035
2229
Then status 200
0
2230
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '923a666c-ee4f-496c-8c85-94d5f81e1f30'
1
2231
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2232
* def title = get response //citation/CI_Citation/title/CharacterString
0
2233
* def email = get response //electronicMailAddress/CharacterString
0
2234
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2235
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2236
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2237
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
2238
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2239
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2240
* print organisationpath
0
06:40:30.909 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2241
* print operateson
0
06:40:30.909 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification
2242
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2243
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2244
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.67:18]9e2e977a-16a6-42a4-a208-c4f70704f383
ms: 1773
>>
Background:
2245
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2246
* def mystorage = Java.type('storage.DataStorage')
2
2247
* def db = new mystorage
17
2248
* def db = db.setfeature(karate.info.featureFileName)
8
2249
* def separator = java.lang.System.getProperty("file.separator")
1
2250
* def outputpath = db.outputpath()
1
2251
* eval db.ensureDirectory(outputpath)
1
2252
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2253
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2254
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2255
Given path 'geonetwork/srv/dut/inspire'
0
2256
And param service = 'CSW'
0
2257
And param version = '2.0.2'
0
2258
And param request = 'GetRecordById'
0
2259
And param id = '9e2e977a-16a6-42a4-a208-c4f70704f383'
0
2260
And param elementsetname = 'full'
0
2261
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2262
When method get
1760
2263
Then status 200
0
2264
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9e2e977a-16a6-42a4-a208-c4f70704f383'
2
2265
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2266
* def title = get response //citation/CI_Citation/title/CharacterString
1
2267
* def email = get response //electronicMailAddress/CharacterString
1
2268
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2269
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2270
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2271
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2272
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2273
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2274
* print organisationpath
0
06:40:30.780 [print] Beheer PDOK
2275
* print operateson
0
06:40:30.780 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification
2276
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2277
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2278
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.68:18]c226f573-4b39-4cbd-b84b-01f308e70972
ms: 1775
>>
Background:
2279
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2280
* def mystorage = Java.type('storage.DataStorage')
2
2281
* def db = new mystorage
17
2282
* def db = db.setfeature(karate.info.featureFileName)
8
2283
* def separator = java.lang.System.getProperty("file.separator")
1
2284
* def outputpath = db.outputpath()
1
2285
* eval db.ensureDirectory(outputpath)
1
2286
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2287
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2288
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2289
Given path 'geonetwork/srv/dut/inspire'
0
2290
And param service = 'CSW'
0
2291
And param version = '2.0.2'
0
2292
And param request = 'GetRecordById'
0
2293
And param id = 'c226f573-4b39-4cbd-b84b-01f308e70972'
1
2294
And param elementsetname = 'full'
0
2295
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2296
When method get
1761
2297
Then status 200
0
2298
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c226f573-4b39-4cbd-b84b-01f308e70972'
1
2299
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2300
* def title = get response //citation/CI_Citation/title/CharacterString
0
2301
* def email = get response //electronicMailAddress/CharacterString
0
2302
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2303
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2304
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2305
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2306
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2307
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2308
* print organisationpath
0
06:40:30.869 [print] Beheer PDOK
2309
* print operateson
0
06:40:30.869 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification
2310
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2311
* eval db.writeln('"c226f573-4b39-4cbd-b84b-01f308e70972","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
2312
* eval db.writeln('"c226f573-4b39-4cbd-b84b-01f308e70972","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.69:18]8abcd2d1-3beb-43e5-a572-2b2da05a0a98
ms: 1781
>>
Background:
2313
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2314
* def mystorage = Java.type('storage.DataStorage')
2
2315
* def db = new mystorage
17
2316
* def db = db.setfeature(karate.info.featureFileName)
8
2317
* def separator = java.lang.System.getProperty("file.separator")
1
2318
* def outputpath = db.outputpath()
1
2319
* eval db.ensureDirectory(outputpath)
1
2320
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2321
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2322
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2323
Given path 'geonetwork/srv/dut/inspire'
0
2324
And param service = 'CSW'
0
2325
And param version = '2.0.2'
0
2326
And param request = 'GetRecordById'
0
2327
And param id = '8abcd2d1-3beb-43e5-a572-2b2da05a0a98'
1
2328
And param elementsetname = 'full'
0
2329
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2330
When method get
1766
2331
Then status 200
0
2332
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8abcd2d1-3beb-43e5-a572-2b2da05a0a98'
1
2333
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2334
* def title = get response //citation/CI_Citation/title/CharacterString
0
2335
* def email = get response //electronicMailAddress/CharacterString
0
2336
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2337
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2338
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2339
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2340
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2341
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2342
* print organisationpath
0
06:40:30.904 [print] Beheer PDOK
2343
* print operateson
0
06:40:30.904 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification
2344
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2345
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2346
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.70:18]4074b3c3-ca85-45ad-bc0d-b5fca8540c0a
ms: 1900
>>
Background:
2347
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2348
* def mystorage = Java.type('storage.DataStorage')
2
2349
* def db = new mystorage
17
2350
* def db = db.setfeature(karate.info.featureFileName)
8
2351
* def separator = java.lang.System.getProperty("file.separator")
1
2352
* def outputpath = db.outputpath()
1
2353
* eval db.ensureDirectory(outputpath)
1
2354
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2355
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2356
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2357
Given path 'geonetwork/srv/dut/inspire'
0
2358
And param service = 'CSW'
0
2359
And param version = '2.0.2'
0
2360
And param request = 'GetRecordById'
0
2361
And param id = '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a'
1
2362
And param elementsetname = 'full'
0
2363
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2364
When method get
1886
2365
Then status 200
0
2366
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a'
1
2367
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2368
* def title = get response //citation/CI_Citation/title/CharacterString
1
2369
* def email = get response //electronicMailAddress/CharacterString
0
2370
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2371
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2372
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2373
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2374
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2375
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2376
* print organisationpath
0
06:40:31.057 [print] Beheer PDOK
2377
* print operateson
0
06:40:31.057 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification
2378
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2379
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
2380
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.71:18]c0a8e0ee-8639-44d4-be07-d7edf9c276c7
ms: 1786
>>
Background:
2381
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2382
* def mystorage = Java.type('storage.DataStorage')
2
2383
* def db = new mystorage
17
2384
* def db = db.setfeature(karate.info.featureFileName)
8
2385
* def separator = java.lang.System.getProperty("file.separator")
1
2386
* def outputpath = db.outputpath()
1
2387
* eval db.ensureDirectory(outputpath)
1
2388
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2389
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2390
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2391
Given path 'geonetwork/srv/dut/inspire'
1
2392
And param service = 'CSW'
0
2393
And param version = '2.0.2'
0
2394
And param request = 'GetRecordById'
0
2395
And param id = 'c0a8e0ee-8639-44d4-be07-d7edf9c276c7'
1
2396
And param elementsetname = 'full'
0
2397
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2398
When method get
1775
2399
Then status 200
0
2400
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c0a8e0ee-8639-44d4-be07-d7edf9c276c7'
1
2401
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2402
* def title = get response //citation/CI_Citation/title/CharacterString
0
2403
* def email = get response //electronicMailAddress/CharacterString
0
2404
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2405
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2406
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2407
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2408
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2409
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2410
* print organisationpath
0
06:40:31.188 [print] Beheer PDOK
2411
* print operateson
0
06:40:31.188 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=14657c9b-91e4-4355-8563-2911ad0e78e4#MD_DataIdentification
2412
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2413
* eval db.writeln('"c0a8e0ee-8639-44d4-be07-d7edf9c276c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2414
* eval db.writeln('"c0a8e0ee-8639-44d4-be07-d7edf9c276c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.72:18]c374d556-7b6e-459b-83c7-74da6ad90a59
ms: 1816
>>
Background:
2415
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2416
* def mystorage = Java.type('storage.DataStorage')
2
2417
* def db = new mystorage
17
2418
* def db = db.setfeature(karate.info.featureFileName)
8
2419
* def separator = java.lang.System.getProperty("file.separator")
1
2420
* def outputpath = db.outputpath()
1
2421
* eval db.ensureDirectory(outputpath)
1
2422
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2423
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2424
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2425
Given path 'geonetwork/srv/dut/inspire'
1
2426
And param service = 'CSW'
0
2427
And param version = '2.0.2'
0
2428
And param request = 'GetRecordById'
0
2429
And param id = 'c374d556-7b6e-459b-83c7-74da6ad90a59'
0
2430
And param elementsetname = 'full'
0
2431
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2432
When method get
1802
2433
Then status 200
0
2434
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c374d556-7b6e-459b-83c7-74da6ad90a59'
1
2435
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2436
* def title = get response //citation/CI_Citation/title/CharacterString
0
2437
* def email = get response //electronicMailAddress/CharacterString
0
2438
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2439
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2440
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2441
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2442
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2443
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
2444
* print organisationpath
0
06:40:31.230 [print] Beheer PDOK
2445
* print operateson
0
06:40:31.230 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification
2446
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2447
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
2448
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.73:18]9ff1a13c-d1e0-4150-8523-91cb489ae1a4
ms: 1735
>>
Background:
2449
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2450
* def mystorage = Java.type('storage.DataStorage')
2
2451
* def db = new mystorage
17
2452
* def db = db.setfeature(karate.info.featureFileName)
8
2453
* def separator = java.lang.System.getProperty("file.separator")
1
2454
* def outputpath = db.outputpath()
1
2455
* eval db.ensureDirectory(outputpath)
1
2456
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2457
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2458
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2459
Given path 'geonetwork/srv/dut/inspire'
1
2460
And param service = 'CSW'
0
2461
And param version = '2.0.2'
0
2462
And param request = 'GetRecordById'
0
2463
And param id = '9ff1a13c-d1e0-4150-8523-91cb489ae1a4'
0
2464
And param elementsetname = 'full'
0
2465
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2466
When method get
1701
2467
Then status 200
0
2468
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ff1a13c-d1e0-4150-8523-91cb489ae1a4'
1
2469
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2470
* def title = get response //citation/CI_Citation/title/CharacterString
0
2471
* def email = get response //electronicMailAddress/CharacterString
1
2472
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2473
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2474
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2475
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2476
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2477
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2478
* print organisationpath
0
06:40:31.133 [print] Beheer PDOK
2479
* print operateson
11
06:40:31.143 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e5f0f60-0f2f-4e17-96af-c913fe305ecb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=0f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07d73b60-dfd6-4c54-9c82-9fac70c6c48e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d25fe199-2430-48fd-ad57-5b5f79f73cdf#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bbece924-9aab-4e00-8392-bce36b8f494e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8eee71f9-9365-490d-9484-00263c6fa35c#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2af8df10-81ba-434a-8125-34fe8f127cf9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5d0dc580-ba7a-4c3b-968b-199efd92d6cf#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification" ]
2480
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2481
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2482
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
13
Scenario Outline: [1.74:18]6c62e0a5-c215-4e47-94b0-a239e264417d
ms: 1797
>>
Background:
2483
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2484
* def mystorage = Java.type('storage.DataStorage')
2
2485
* def db = new mystorage
17
2486
* def db = db.setfeature(karate.info.featureFileName)
8
2487
* def separator = java.lang.System.getProperty("file.separator")
1
2488
* def outputpath = db.outputpath()
1
2489
* eval db.ensureDirectory(outputpath)
1
2490
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2491
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2492
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2493
Given path 'geonetwork/srv/dut/inspire'
1
2494
And param service = 'CSW'
0
2495
And param version = '2.0.2'
0
2496
And param request = 'GetRecordById'
0
2497
And param id = '6c62e0a5-c215-4e47-94b0-a239e264417d'
1
2498
And param elementsetname = 'full'
0
2499
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2500
When method get
1766
2501
Then status 200
0
2502
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c62e0a5-c215-4e47-94b0-a239e264417d'
2
2503
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
2504
* def title = get response //citation/CI_Citation/title/CharacterString
2
2505
* def email = get response //electronicMailAddress/CharacterString
2
2506
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2507
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2508
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2509
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2510
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
9
2511
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
2512
* print organisationpath
0
06:40:31.299 [print] Beheer PDOK
2513
* print operateson
0
06:40:31.299 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification
2514
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2515
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2516
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.75:18]ec73f245-66ce-4144-ac27-5966c80a4b3a
ms: 1616
>>
Background:
2517
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2518
* def mystorage = Java.type('storage.DataStorage')
2
2519
* def db = new mystorage
17
2520
* def db = db.setfeature(karate.info.featureFileName)
8
2521
* def separator = java.lang.System.getProperty("file.separator")
1
2522
* def outputpath = db.outputpath()
1
2523
* eval db.ensureDirectory(outputpath)
1
2524
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2525
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2526
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2527
Given path 'geonetwork/srv/dut/inspire'
0
2528
And param service = 'CSW'
0
2529
And param version = '2.0.2'
0
2530
And param request = 'GetRecordById'
0
2531
And param id = 'ec73f245-66ce-4144-ac27-5966c80a4b3a'
0
2532
And param elementsetname = 'full'
0
2533
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2534
When method get
1606
2535
Then status 200
0
2536
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ec73f245-66ce-4144-ac27-5966c80a4b3a'
1
2537
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2538
* def title = get response //citation/CI_Citation/title/CharacterString
1
2539
* def email = get response //electronicMailAddress/CharacterString
1
2540
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2541
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2542
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2543
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2544
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2545
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2546
* print organisationpath
0
06:40:31.204 [print] Beheer PDOK
2547
* print operateson
0
06:40:31.204 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification
2548
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2549
* eval db.writeln('"ec73f245-66ce-4144-ac27-5966c80a4b3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2550
* eval db.writeln('"ec73f245-66ce-4144-ac27-5966c80a4b3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.76:18]77971fa3-f869-4726-969a-482e0b1a8c5d
ms: 1647
>>
Background:
2551
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2552
* def mystorage = Java.type('storage.DataStorage')
2
2553
* def db = new mystorage
17
2554
* def db = db.setfeature(karate.info.featureFileName)
8
2555
* def separator = java.lang.System.getProperty("file.separator")
1
2556
* def outputpath = db.outputpath()
1
2557
* eval db.ensureDirectory(outputpath)
1
2558
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2559
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2560
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2561
Given path 'geonetwork/srv/dut/inspire'
0
2562
And param service = 'CSW'
0
2563
And param version = '2.0.2'
0
2564
And param request = 'GetRecordById'
0
2565
And param id = '77971fa3-f869-4726-969a-482e0b1a8c5d'
0
2566
And param elementsetname = 'full'
0
2567
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2568
When method get
1636
2569
Then status 200
0
2570
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '77971fa3-f869-4726-969a-482e0b1a8c5d'
1
2571
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2572
* def title = get response //citation/CI_Citation/title/CharacterString
0
2573
* def email = get response //electronicMailAddress/CharacterString
0
2574
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2575
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2576
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2577
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2578
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2579
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2580
* print organisationpath
0
06:40:31.295 [print] TNO Geologische Dienst Nederland
2581
* print operateson
0
06:40:31.295 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2582
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2583
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2584
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.77:18]97b49056-8ace-426c-ae3e-bf7efe4c000f
ms: 1695
>>
Background:
2585
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2586
* def mystorage = Java.type('storage.DataStorage')
2
2587
* def db = new mystorage
17
2588
* def db = db.setfeature(karate.info.featureFileName)
8
2589
* def separator = java.lang.System.getProperty("file.separator")
1
2590
* def outputpath = db.outputpath()
1
2591
* eval db.ensureDirectory(outputpath)
1
2592
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2593
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2594
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2595
Given path 'geonetwork/srv/dut/inspire'
0
2596
And param service = 'CSW'
0
2597
And param version = '2.0.2'
0
2598
And param request = 'GetRecordById'
0
2599
And param id = '97b49056-8ace-426c-ae3e-bf7efe4c000f'
0
2600
And param elementsetname = 'full'
0
2601
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2602
When method get
1684
2603
Then status 200
0
2604
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97b49056-8ace-426c-ae3e-bf7efe4c000f'
1
2605
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2606
* def title = get response //citation/CI_Citation/title/CharacterString
0
2607
* def email = get response //electronicMailAddress/CharacterString
0
2608
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2609
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2610
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2611
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2612
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2613
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2614
* print organisationpath
0
06:40:31.428 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2615
* print operateson
0
06:40:31.428 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
2616
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2617
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2618
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.78:18]89b35a6c-c099-456b-8eaf-2b83c7a35c74
ms: 1774
>>
Background:
2619
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2620
* def mystorage = Java.type('storage.DataStorage')
2
2621
* def db = new mystorage
17
2622
* def db = db.setfeature(karate.info.featureFileName)
8
2623
* def separator = java.lang.System.getProperty("file.separator")
1
2624
* def outputpath = db.outputpath()
1
2625
* eval db.ensureDirectory(outputpath)
1
2626
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2627
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2628
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2629
Given path 'geonetwork/srv/dut/inspire'
1
2630
And param service = 'CSW'
0
2631
And param version = '2.0.2'
0
2632
And param request = 'GetRecordById'
0
2633
And param id = '89b35a6c-c099-456b-8eaf-2b83c7a35c74'
1
2634
And param elementsetname = 'full'
0
2635
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2636
When method get
1762
2637
Then status 200
0
2638
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '89b35a6c-c099-456b-8eaf-2b83c7a35c74'
2
2639
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2640
* def title = get response //citation/CI_Citation/title/CharacterString
1
2641
* def email = get response //electronicMailAddress/CharacterString
1
2642
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2643
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2644
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2645
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2646
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2647
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2648
* print organisationpath
0
06:40:31.600 [print] Beheer PDOK
2649
* print operateson
0
06:40:31.600 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification
2650
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2651
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2652
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.79:18]82541a1f-2e4e-459f-ab2f-e97cac3ad040
ms: 1743
>>
Background:
2653
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2654
* def mystorage = Java.type('storage.DataStorage')
2
2655
* def db = new mystorage
17
2656
* def db = db.setfeature(karate.info.featureFileName)
8
2657
* def separator = java.lang.System.getProperty("file.separator")
1
2658
* def outputpath = db.outputpath()
1
2659
* eval db.ensureDirectory(outputpath)
1
2660
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2661
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2662
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2663
Given path 'geonetwork/srv/dut/inspire'
1
2664
And param service = 'CSW'
0
2665
And param version = '2.0.2'
0
2666
And param request = 'GetRecordById'
0
2667
And param id = '82541a1f-2e4e-459f-ab2f-e97cac3ad040'
2
2668
And param elementsetname = 'full'
0
2669
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2670
When method get
1717
2671
Then status 200
0
2672
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82541a1f-2e4e-459f-ab2f-e97cac3ad040'
2
2673
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
2674
* def title = get response //citation/CI_Citation/title/CharacterString
2
2675
* def email = get response //electronicMailAddress/CharacterString
2
2676
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
2677
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2678
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2679
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2680
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2681
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
2682
* print organisationpath
0
06:40:31.697 [print] Beheer PDOK
2683
* print operateson
0
06:40:31.697 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3#MD_DataIdentification
2684
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
2685
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2686
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.80:18]73286af2-d0f4-4a62-9455-86ffa45ef279
ms: 1693
>>
Background:
2687
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2688
* def mystorage = Java.type('storage.DataStorage')
2
2689
* def db = new mystorage
17
2690
* def db = db.setfeature(karate.info.featureFileName)
8
2691
* def separator = java.lang.System.getProperty("file.separator")
1
2692
* def outputpath = db.outputpath()
1
2693
* eval db.ensureDirectory(outputpath)
1
2694
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2695
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2696
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2697
Given path 'geonetwork/srv/dut/inspire'
0
2698
And param service = 'CSW'
0
2699
And param version = '2.0.2'
0
2700
And param request = 'GetRecordById'
2
2701
And param id = '73286af2-d0f4-4a62-9455-86ffa45ef279'
1
2702
And param elementsetname = 'full'
0
2703
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2704
When method get
1681
2705
Then status 200
0
2706
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73286af2-d0f4-4a62-9455-86ffa45ef279'
1
2707
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2708
* def title = get response //citation/CI_Citation/title/CharacterString
0
2709
* def email = get response //electronicMailAddress/CharacterString
0
2710
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2711
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2712
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2713
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2714
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2715
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2716
* print organisationpath
0
06:40:31.650 [print] TNO Geologische Dienst Nederland
2717
* print operateson
0
06:40:31.650 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2718
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2719
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2720
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.81:18]f76bdce5-344e-415f-8f2c-972755e80b65
ms: 1689
>>
Background:
2721
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2722
* def mystorage = Java.type('storage.DataStorage')
2
2723
* def db = new mystorage
17
2724
* def db = db.setfeature(karate.info.featureFileName)
8
2725
* def separator = java.lang.System.getProperty("file.separator")
1
2726
* def outputpath = db.outputpath()
1
2727
* eval db.ensureDirectory(outputpath)
1
2728
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2729
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2730
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2731
Given path 'geonetwork/srv/dut/inspire'
1
2732
And param service = 'CSW'
0
2733
And param version = '2.0.2'
0
2734
And param request = 'GetRecordById'
0
2735
And param id = 'f76bdce5-344e-415f-8f2c-972755e80b65'
1
2736
And param elementsetname = 'full'
0
2737
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2738
When method get
1676
2739
Then status 200
0
2740
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f76bdce5-344e-415f-8f2c-972755e80b65'
1
2741
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2742
* def title = get response //citation/CI_Citation/title/CharacterString
0
2743
* def email = get response //electronicMailAddress/CharacterString
0
2744
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2745
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2746
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2747
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2748
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2749
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2750
* print organisationpath
0
06:40:31.740 [print] Beheer PDOK
2751
* print operateson
0
06:40:31.740 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification
2752
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2753
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
2754
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.82:18]1601e160-91e8-4091-9aca-10294f819d42
ms: 1703
>>
Background:
2755
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2756
* def mystorage = Java.type('storage.DataStorage')
2
2757
* def db = new mystorage
17
2758
* def db = db.setfeature(karate.info.featureFileName)
8
2759
* def separator = java.lang.System.getProperty("file.separator")
1
2760
* def outputpath = db.outputpath()
1
2761
* eval db.ensureDirectory(outputpath)
1
2762
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2763
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2764
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2765
Given path 'geonetwork/srv/dut/inspire'
0
2766
And param service = 'CSW'
0
2767
And param version = '2.0.2'
0
2768
And param request = 'GetRecordById'
0
2769
And param id = '1601e160-91e8-4091-9aca-10294f819d42'
0
2770
And param elementsetname = 'full'
0
2771
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2772
When method get
1692
2773
Then status 200
0
2774
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1601e160-91e8-4091-9aca-10294f819d42'
1
2775
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2776
* def title = get response //citation/CI_Citation/title/CharacterString
1
2777
* def email = get response //electronicMailAddress/CharacterString
1
2778
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2779
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2780
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2781
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2782
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2783
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2784
* print organisationpath
0
06:40:31.851 [print] Beheer PDOK
2785
* print operateson
0
06:40:31.852 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification
2786
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2787
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2788
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.83:18]7dc30aed-0940-4e69-b34c-9f24b34078eb
ms: 1734
>>
Background:
2789
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2790
* def mystorage = Java.type('storage.DataStorage')
2
2791
* def db = new mystorage
17
2792
* def db = db.setfeature(karate.info.featureFileName)
8
2793
* def separator = java.lang.System.getProperty("file.separator")
1
2794
* def outputpath = db.outputpath()
1
2795
* eval db.ensureDirectory(outputpath)
1
2796
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2797
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2798
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2799
Given path 'geonetwork/srv/dut/inspire'
0
2800
And param service = 'CSW'
0
2801
And param version = '2.0.2'
0
2802
And param request = 'GetRecordById'
0
2803
And param id = '7dc30aed-0940-4e69-b34c-9f24b34078eb'
1
2804
And param elementsetname = 'full'
0
2805
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2806
When method get
1724
2807
Then status 200
0
2808
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7dc30aed-0940-4e69-b34c-9f24b34078eb'
1
2809
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2810
* def title = get response //citation/CI_Citation/title/CharacterString
0
2811
* def email = get response //electronicMailAddress/CharacterString
0
2812
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2813
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2814
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2815
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2816
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2817
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2818
* print organisationpath
0
06:40:31.952 [print]
2819
* print operateson
1
06:40:31.953 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification
2820
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2821
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2822
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.84:18]c78a99eb-9ba3-4307-a21b-2a64ad5da039
ms: 1902
>>
Background:
2823
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2824
* def mystorage = Java.type('storage.DataStorage')
2
2825
* def db = new mystorage
17
2826
* def db = db.setfeature(karate.info.featureFileName)
8
2827
* def separator = java.lang.System.getProperty("file.separator")
1
2828
* def outputpath = db.outputpath()
1
2829
* eval db.ensureDirectory(outputpath)
1
2830
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2831
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2832
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2833
Given path 'geonetwork/srv/dut/inspire'
0
2834
And param service = 'CSW'
0
2835
And param version = '2.0.2'
0
2836
And param request = 'GetRecordById'
0
2837
And param id = 'c78a99eb-9ba3-4307-a21b-2a64ad5da039'
1
2838
And param elementsetname = 'full'
0
2839
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2840
When method get
1881
2841
Then status 200
0
2842
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c78a99eb-9ba3-4307-a21b-2a64ad5da039'
2
2843
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2844
* def title = get response //citation/CI_Citation/title/CharacterString
1
2845
* def email = get response //electronicMailAddress/CharacterString
1
2846
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2847
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2848
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2849
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
5
2850
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2851
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2852
* print organisationpath
0
06:40:32.166 [print] Beheer PDOK
2853
* print operateson
0
06:40:32.166 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification
2854
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2855
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
2856
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.85:18]c7dad4b9-42a8-452f-a33b-d4938ed22142
ms: 1689
>>
Background:
2857
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2858
* def mystorage = Java.type('storage.DataStorage')
2
2859
* def db = new mystorage
17
2860
* def db = db.setfeature(karate.info.featureFileName)
8
2861
* def separator = java.lang.System.getProperty("file.separator")
1
2862
* def outputpath = db.outputpath()
1
2863
* eval db.ensureDirectory(outputpath)
1
2864
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2865
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2866
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2867
Given path 'geonetwork/srv/dut/inspire'
0
2868
And param service = 'CSW'
0
2869
And param version = '2.0.2'
0
2870
And param request = 'GetRecordById'
0
2871
And param id = 'c7dad4b9-42a8-452f-a33b-d4938ed22142'
1
2872
And param elementsetname = 'full'
0
2873
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2874
When method get
1674
2875
Then status 200
0
2876
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7dad4b9-42a8-452f-a33b-d4938ed22142'
1
2877
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2878
* def title = get response //citation/CI_Citation/title/CharacterString
0
2879
* def email = get response //electronicMailAddress/CharacterString
0
2880
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2881
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2882
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2883
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2884
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2885
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2886
* print organisationpath
0
06:40:32.068 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2887
* print operateson
0
06:40:32.069 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification
2888
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2889
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2890
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.86:18]684ff4f6-1652-45a8-93f0-8e16d37b2a66
ms: 1631
>>
Background:
2891
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2892
* def mystorage = Java.type('storage.DataStorage')
2
2893
* def db = new mystorage
17
2894
* def db = db.setfeature(karate.info.featureFileName)
8
2895
* def separator = java.lang.System.getProperty("file.separator")
1
2896
* def outputpath = db.outputpath()
1
2897
* eval db.ensureDirectory(outputpath)
1
2898
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2899
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2900
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2901
Given path 'geonetwork/srv/dut/inspire'
0
2902
And param service = 'CSW'
0
2903
And param version = '2.0.2'
0
2904
And param request = 'GetRecordById'
0
2905
And param id = '684ff4f6-1652-45a8-93f0-8e16d37b2a66'
0
2906
And param elementsetname = 'full'
0
2907
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2908
When method get
1584
2909
Then status 200
0
2910
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '684ff4f6-1652-45a8-93f0-8e16d37b2a66'
1
2911
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2912
* def title = get response //citation/CI_Citation/title/CharacterString
1
2913
* def email = get response //electronicMailAddress/CharacterString
0
2914
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2915
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
29
2916
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2917
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2918
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2919
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2920
* print organisationpath
0
06:40:32.152 [print] Beheer PDOK
2921
* print operateson
0
06:40:32.152 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d4ec7e6-50ae-4c71-bd20-5b9211e2135f#MD_DataIdentification
2922
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2923
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
9
2924
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.87:18]db1e010a-96f8-453e-b63c-9c27d6273157
ms: 1647
>>
Background:
2925
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2926
* def mystorage = Java.type('storage.DataStorage')
2
2927
* def db = new mystorage
17
2928
* def db = db.setfeature(karate.info.featureFileName)
8
2929
* def separator = java.lang.System.getProperty("file.separator")
1
2930
* def outputpath = db.outputpath()
1
2931
* eval db.ensureDirectory(outputpath)
1
2932
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2933
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2934
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2935
Given path 'geonetwork/srv/dut/inspire'
0
2936
And param service = 'CSW'
0
2937
And param version = '2.0.2'
0
2938
And param request = 'GetRecordById'
0
2939
And param id = 'db1e010a-96f8-453e-b63c-9c27d6273157'
0
2940
And param elementsetname = 'full'
0
2941
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2942
When method get
1633
2943
Then status 200
0
2944
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'db1e010a-96f8-453e-b63c-9c27d6273157'
1
2945
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2946
* def title = get response //citation/CI_Citation/title/CharacterString
0
2947
* def email = get response //electronicMailAddress/CharacterString
0
2948
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2949
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2950
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2951
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2952
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2953
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2954
* print organisationpath
0
06:40:32.211 [print] Beheer PDOK
2955
* print operateson
2
06:40:32.214 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
2956
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2957
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2958
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.88:18]f0eb64f9-8888-42e1-9550-bf91c32da4bc
ms: 1732
>>
Background:
2959
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2960
* def mystorage = Java.type('storage.DataStorage')
2
2961
* def db = new mystorage
17
2962
* def db = db.setfeature(karate.info.featureFileName)
8
2963
* def separator = java.lang.System.getProperty("file.separator")
1
2964
* def outputpath = db.outputpath()
1
2965
* eval db.ensureDirectory(outputpath)
1
2966
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2967
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2968
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2969
Given path 'geonetwork/srv/dut/inspire'
1
2970
And param service = 'CSW'
1
2971
And param version = '2.0.2'
0
2972
And param request = 'GetRecordById'
0
2973
And param id = 'f0eb64f9-8888-42e1-9550-bf91c32da4bc'
0
2974
And param elementsetname = 'full'
0
2975
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2976
When method get
1720
2977
Then status 200
0
2978
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0eb64f9-8888-42e1-9550-bf91c32da4bc'
1
2979
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2980
* def title = get response //citation/CI_Citation/title/CharacterString
1
2981
* def email = get response //electronicMailAddress/CharacterString
1
2982
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2983
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2984
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2985
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2986
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2987
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2988
* print organisationpath
0
06:40:32.329 [print]
2989
* print operateson
0
06:40:32.329 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification
2990
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2991
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2992
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.89:18]40f04047-3b61-40eb-b026-c1a0caa71881
ms: 1798
>>
Background:
2993
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
2994
* def mystorage = Java.type('storage.DataStorage')
2
2995
* def db = new mystorage
17
2996
* def db = db.setfeature(karate.info.featureFileName)
8
2997
* def separator = java.lang.System.getProperty("file.separator")
1
2998
* def outputpath = db.outputpath()
1
2999
* eval db.ensureDirectory(outputpath)
1
3000
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3001
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3002
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3003
Given path 'geonetwork/srv/dut/inspire'
0
3004
And param service = 'CSW'
0
3005
And param version = '2.0.2'
0
3006
And param request = 'GetRecordById'
0
3007
And param id = '40f04047-3b61-40eb-b026-c1a0caa71881'
0
3008
And param elementsetname = 'full'
0
3009
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3010
When method get
1786
3011
Then status 200
0
3012
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40f04047-3b61-40eb-b026-c1a0caa71881'
1
3013
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3014
* def title = get response //citation/CI_Citation/title/CharacterString
1
3015
* def email = get response //electronicMailAddress/CharacterString
1
3016
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3017
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3018
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3019
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3020
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3021
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3022
* print organisationpath
0
06:40:32.453 [print] Beheer PDOK
3023
* print operateson
1
06:40:32.453 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification" ]
3024
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3025
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3026
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.90:18]018a28a5-1019-4747-b031-f66ffc1c6ae7
ms: 1639
>>
Background:
3027
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3028
* def mystorage = Java.type('storage.DataStorage')
2
3029
* def db = new mystorage
17
3030
* def db = db.setfeature(karate.info.featureFileName)
8
3031
* def separator = java.lang.System.getProperty("file.separator")
1
3032
* def outputpath = db.outputpath()
1
3033
* eval db.ensureDirectory(outputpath)
1
3034
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3035
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3036
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3037
Given path 'geonetwork/srv/dut/inspire'
1
3038
And param service = 'CSW'
0
3039
And param version = '2.0.2'
0
3040
And param request = 'GetRecordById'
0
3041
And param id = '018a28a5-1019-4747-b031-f66ffc1c6ae7'
0
3042
And param elementsetname = 'full'
0
3043
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3044
When method get
1627
3045
Then status 200
0
3046
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '018a28a5-1019-4747-b031-f66ffc1c6ae7'
1
3047
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3048
* def title = get response //citation/CI_Citation/title/CharacterString
1
3049
* def email = get response //electronicMailAddress/CharacterString
1
3050
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3051
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3052
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3053
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3054
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3055
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3056
* print organisationpath
0
06:40:32.420 [print] Beheer PDOK
3057
* print operateson
0
06:40:32.420 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification
3058
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3059
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3060
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.91:18]598c4109-21d2-4a6c-b083-9975a6736853
ms: 1607
>>
Background:
3061
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3062
* def mystorage = Java.type('storage.DataStorage')
2
3063
* def db = new mystorage
17
3064
* def db = db.setfeature(karate.info.featureFileName)
8
3065
* def separator = java.lang.System.getProperty("file.separator")
1
3066
* def outputpath = db.outputpath()
1
3067
* eval db.ensureDirectory(outputpath)
1
3068
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3069
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3070
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3071
Given path 'geonetwork/srv/dut/inspire'
0
3072
And param service = 'CSW'
0
3073
And param version = '2.0.2'
0
3074
And param request = 'GetRecordById'
0
3075
And param id = '598c4109-21d2-4a6c-b083-9975a6736853'
1
3076
And param elementsetname = 'full'
0
3077
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3078
When method get
1597
3079
Then status 200
0
3080
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736853'
1
3081
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3082
* def title = get response //citation/CI_Citation/title/CharacterString
1
3083
* def email = get response //electronicMailAddress/CharacterString
1
3084
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3085
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3086
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3087
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3088
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3089
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3090
* print organisationpath
0
06:40:32.482 [print] Beheer PDOK
3091
* print operateson
1
06:40:32.482 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=27df6b33-194c-46d6-ac94-257c306c91f2#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification" ]
3092
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3093
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3094
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.92:18]5be1b57b-2cac-4119-92eb-700346543d47
ms: 1780
>>
Background:
3095
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3096
* def mystorage = Java.type('storage.DataStorage')
2
3097
* def db = new mystorage
17
3098
* def db = db.setfeature(karate.info.featureFileName)
8
3099
* def separator = java.lang.System.getProperty("file.separator")
1
3100
* def outputpath = db.outputpath()
1
3101
* eval db.ensureDirectory(outputpath)
1
3102
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3103
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3104
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3105
Given path 'geonetwork/srv/dut/inspire'
1
3106
And param service = 'CSW'
0
3107
And param version = '2.0.2'
0
3108
And param request = 'GetRecordById'
0
3109
And param id = '5be1b57b-2cac-4119-92eb-700346543d47'
3
3110
And param elementsetname = 'full'
0
3111
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3112
When method get
1765
3113
Then status 200
0
3114
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be1b57b-2cac-4119-92eb-700346543d47'
1
3115
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3116
* def title = get response //citation/CI_Citation/title/CharacterString
0
3117
* def email = get response //electronicMailAddress/CharacterString
0
3118
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3119
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3120
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3121
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3122
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3123
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3124
* print organisationpath
0
06:40:32.686 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
3125
* print operateson
0
06:40:32.686 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
3126
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3127
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3128
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.93:18]1c9b43c3-064d-40c3-aa7c-879b7376ef6f
ms: 1741
>>
Background:
3129
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3130
* def mystorage = Java.type('storage.DataStorage')
2
3131
* def db = new mystorage
17
3132
* def db = db.setfeature(karate.info.featureFileName)
8
3133
* def separator = java.lang.System.getProperty("file.separator")
1
3134
* def outputpath = db.outputpath()
1
3135
* eval db.ensureDirectory(outputpath)
1
3136
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3137
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3138
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3139
Given path 'geonetwork/srv/dut/inspire'
0
3140
And param service = 'CSW'
0
3141
And param version = '2.0.2'
0
3142
And param request = 'GetRecordById'
0
3143
And param id = '1c9b43c3-064d-40c3-aa7c-879b7376ef6f'
1
3144
And param elementsetname = 'full'
0
3145
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3146
When method get
1717
3147
Then status 200
0
3148
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c9b43c3-064d-40c3-aa7c-879b7376ef6f'
1
3149
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3150
* def title = get response //citation/CI_Citation/title/CharacterString
1
3151
* def email = get response //electronicMailAddress/CharacterString
0
3152
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3153
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3154
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3155
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3156
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3157
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
3158
* print organisationpath
4
06:40:32.644 [print] Beheer PDOK
3159
* print operateson
0
06:40:32.644 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=dc5b522e-3e14-4738-9e8e-2401e1b19ef2#MD_DataIdentification
3160
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3161
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3162
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.94:18]9c80458b-12c6-4d38-8f6d-387ab6e4ed21
ms: 1587
>>
Background:
3163
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3164
* def mystorage = Java.type('storage.DataStorage')
2
3165
* def db = new mystorage
17
3166
* def db = db.setfeature(karate.info.featureFileName)
8
3167
* def separator = java.lang.System.getProperty("file.separator")
1
3168
* def outputpath = db.outputpath()
1
3169
* eval db.ensureDirectory(outputpath)
1
3170
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3171
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3172
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3173
Given path 'geonetwork/srv/dut/inspire'
0
3174
And param service = 'CSW'
0
3175
And param version = '2.0.2'
0
3176
And param request = 'GetRecordById'
0
3177
And param id = '9c80458b-12c6-4d38-8f6d-387ab6e4ed21'
1
3178
And param elementsetname = 'full'
0
3179
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3180
When method get
1561
3181
Then status 200
0
3182
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c80458b-12c6-4d38-8f6d-387ab6e4ed21'
1
3183
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3184
* def title = get response //citation/CI_Citation/title/CharacterString
0
3185
* def email = get response //electronicMailAddress/CharacterString
0
3186
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3187
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3188
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3189
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3190
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
7
3191
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3192
* print organisationpath
8
06:40:32.647 [print] Beheer PDOK
3193
* print operateson
0
06:40:32.647 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification
3194
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3195
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3196
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.95:18]a6098c24-4caf-4528-954c-672b9ec6cf78
ms: 1574
>>
Background:
3197
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3198
* def mystorage = Java.type('storage.DataStorage')
2
3199
* def db = new mystorage
17
3200
* def db = db.setfeature(karate.info.featureFileName)
8
3201
* def separator = java.lang.System.getProperty("file.separator")
1
3202
* def outputpath = db.outputpath()
1
3203
* eval db.ensureDirectory(outputpath)
1
3204
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3205
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3206
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3207
Given path 'geonetwork/srv/dut/inspire'
1
3208
And param service = 'CSW'
0
3209
And param version = '2.0.2'
0
3210
And param request = 'GetRecordById'
0
3211
And param id = 'a6098c24-4caf-4528-954c-672b9ec6cf78'
1
3212
And param elementsetname = 'full'
0
3213
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3214
When method get
1563
3215
Then status 200
0
3216
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a6098c24-4caf-4528-954c-672b9ec6cf78'
1
3217
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3218
* def title = get response //citation/CI_Citation/title/CharacterString
0
3219
* def email = get response //electronicMailAddress/CharacterString
0
3220
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3221
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3222
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3223
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3224
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3225
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3226
* print organisationpath
0
06:40:32.728 [print]
3227
* print operateson
1
06:40:32.729 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification
3228
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3229
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3230
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.96:18]00e8746f-5031-413e-8343-9203c8ea82ee
ms: 1739
>>
Background:
3231
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3232
* def mystorage = Java.type('storage.DataStorage')
2
3233
* def db = new mystorage
17
3234
* def db = db.setfeature(karate.info.featureFileName)
8
3235
* def separator = java.lang.System.getProperty("file.separator")
1
3236
* def outputpath = db.outputpath()
1
3237
* eval db.ensureDirectory(outputpath)
1
3238
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3239
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3240
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3241
Given path 'geonetwork/srv/dut/inspire'
1
3242
And param service = 'CSW'
0
3243
And param version = '2.0.2'
0
3244
And param request = 'GetRecordById'
0
3245
And param id = '00e8746f-5031-413e-8343-9203c8ea82ee'
0
3246
And param elementsetname = 'full'
0
3247
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3248
When method get
1727
3249
Then status 200
0
3250
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '00e8746f-5031-413e-8343-9203c8ea82ee'
1
3251
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3252
* def title = get response //citation/CI_Citation/title/CharacterString
0
3253
* def email = get response //electronicMailAddress/CharacterString
0
3254
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3255
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3256
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3257
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3258
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3259
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3260
* print organisationpath
0
06:40:32.926 [print] Interprovinciaal Overleg
3261
* print operateson
0
06:40:32.926 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
3262
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3263
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3264
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.97:18]73914696-dc43-11e3-bdbb-901b0e19e163
ms: 1896
>>
Background:
3265
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3266
* def mystorage = Java.type('storage.DataStorage')
2
3267
* def db = new mystorage
17
3268
* def db = db.setfeature(karate.info.featureFileName)
8
3269
* def separator = java.lang.System.getProperty("file.separator")
1
3270
* def outputpath = db.outputpath()
1
3271
* eval db.ensureDirectory(outputpath)
1
3272
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3273
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3274
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3275
Given path 'geonetwork/srv/dut/inspire'
0
3276
And param service = 'CSW'
0
3277
And param version = '2.0.2'
0
3278
And param request = 'GetRecordById'
0
3279
And param id = '73914696-dc43-11e3-bdbb-901b0e19e163'
0
3280
And param elementsetname = 'full'
0
3281
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3282
When method get
1879
3283
Then status 200
0
3284
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73914696-dc43-11e3-bdbb-901b0e19e163'
7
3285
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3286
* def title = get response //citation/CI_Citation/title/CharacterString
0
3287
* def email = get response //electronicMailAddress/CharacterString
0
3288
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3289
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3290
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3291
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3292
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3293
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3294
* print organisationpath
0
06:40:33.100 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
3295
* print operateson
0
06:40:33.100 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=b59f06c0-dce5-11e3-9c10-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
3296
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3297
* eval db.writeln('"73914696-dc43-11e3-bdbb-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3298
* eval db.writeln('"73914696-dc43-11e3-bdbb-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.98:18]5856173c-e58d-4b4c-8f9b-046ee1f20c1c
ms: 1960
>>
Background:
3299
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3300
* def mystorage = Java.type('storage.DataStorage')
2
3301
* def db = new mystorage
17
3302
* def db = db.setfeature(karate.info.featureFileName)
8
3303
* def separator = java.lang.System.getProperty("file.separator")
1
3304
* def outputpath = db.outputpath()
1
3305
* eval db.ensureDirectory(outputpath)
1
3306
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3307
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3308
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3309
Given path 'geonetwork/srv/dut/inspire'
0
3310
And param service = 'CSW'
0
3311
And param version = '2.0.2'
0
3312
And param request = 'GetRecordById'
0
3313
And param id = '5856173c-e58d-4b4c-8f9b-046ee1f20c1c'
0
3314
And param elementsetname = 'full'
0
3315
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3316
When method get
1950
3317
Then status 200
0
3318
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5856173c-e58d-4b4c-8f9b-046ee1f20c1c'
1
3319
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3320
* def title = get response //citation/CI_Citation/title/CharacterString
0
3321
* def email = get response //electronicMailAddress/CharacterString
0
3322
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3323
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3324
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3325
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3326
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3327
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3328
* print organisationpath
0
06:40:33.192 [print] Beheer PDOK
3329
* print operateson
0
06:40:33.192 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=dc5b522e-3e14-4738-9e8e-2401e1b19ef2#MD_DataIdentification
3330
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3331
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3332
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.99:18]108fec55-e467-4d04-ab35-fd0d7060e3e2
ms: 1851
>>
Background:
3333
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3334
* def mystorage = Java.type('storage.DataStorage')
2
3335
* def db = new mystorage
17
3336
* def db = db.setfeature(karate.info.featureFileName)
8
3337
* def separator = java.lang.System.getProperty("file.separator")
1
3338
* def outputpath = db.outputpath()
1
3339
* eval db.ensureDirectory(outputpath)
1
3340
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3341
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3342
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3343
Given path 'geonetwork/srv/dut/inspire'
1
3344
And param service = 'CSW'
0
3345
And param version = '2.0.2'
0
3346
And param request = 'GetRecordById'
0
3347
And param id = '108fec55-e467-4d04-ab35-fd0d7060e3e2'
0
3348
And param elementsetname = 'full'
2
3349
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3350
When method get
1838
3351
Then status 200
0
3352
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '108fec55-e467-4d04-ab35-fd0d7060e3e2'
1
3353
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3354
* def title = get response //citation/CI_Citation/title/CharacterString
0
3355
* def email = get response //electronicMailAddress/CharacterString
0
3356
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3357
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3358
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3359
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3360
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3361
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3362
* print organisationpath
0
06:40:33.147 [print]
3363
* print operateson
0
06:40:33.147 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification" ]
3364
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3365
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3366
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.100:18]1bd24d1e-aa13-4395-809e-893570f7c651
ms: 1948
>>
Background:
3367
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3368
* def mystorage = Java.type('storage.DataStorage')
2
3369
* def db = new mystorage
17
3370
* def db = db.setfeature(karate.info.featureFileName)
8
3371
* def separator = java.lang.System.getProperty("file.separator")
1
3372
* def outputpath = db.outputpath()
1
3373
* eval db.ensureDirectory(outputpath)
1
3374
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3375
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3376
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3377
Given path 'geonetwork/srv/dut/inspire'
1
3378
And param service = 'CSW'
0
3379
And param version = '2.0.2'
0
3380
And param request = 'GetRecordById'
0
3381
And param id = '1bd24d1e-aa13-4395-809e-893570f7c651'
1
3382
And param elementsetname = 'full'
0
3383
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3384
When method get
1939
3385
Then status 200
0
3386
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1bd24d1e-aa13-4395-809e-893570f7c651'
1
3387
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3388
* def title = get response //citation/CI_Citation/title/CharacterString
0
3389
* def email = get response //electronicMailAddress/CharacterString
0
3390
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3391
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3392
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3393
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3394
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3395
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3396
* print organisationpath
0
06:40:33.250 [print] Beheer PDOK
3397
* print operateson
0
06:40:33.251 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification
3398
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3399
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3400
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.101:18]f917ffa9-1531-48ea-867e-0d413d85b05a
ms: 1675
>>
Background:
3401
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3402
* def mystorage = Java.type('storage.DataStorage')
2
3403
* def db = new mystorage
17
3404
* def db = db.setfeature(karate.info.featureFileName)
8
3405
* def separator = java.lang.System.getProperty("file.separator")
1
3406
* def outputpath = db.outputpath()
1
3407
* eval db.ensureDirectory(outputpath)
1
3408
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3409
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3410
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3411
Given path 'geonetwork/srv/dut/inspire'
0
3412
And param service = 'CSW'
0
3413
And param version = '2.0.2'
0
3414
And param request = 'GetRecordById'
0
3415
And param id = 'f917ffa9-1531-48ea-867e-0d413d85b05a'
1
3416
And param elementsetname = 'full'
0
3417
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3418
When method get
1653
3419
Then status 200
0
3420
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f917ffa9-1531-48ea-867e-0d413d85b05a'
1
3421
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3422
* def title = get response //citation/CI_Citation/title/CharacterString
0
3423
* def email = get response //electronicMailAddress/CharacterString
0
3424
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3425
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3426
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3427
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3428
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3429
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3430
* print organisationpath
0
06:40:33.094 [print] Beheer PDOK
3431
* print operateson
0
06:40:33.094 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4bed072-0fda-47b8-96fa-457a938b88fc", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4b137b8-2317-42c2-aced-204c4216d68d", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e" ]
3432
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3433
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
8
3434
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.102:18]a2724dae-ebad-4a07-9405-49bddfde3368
ms: 1772
>>
Background:
3435
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3436
* def mystorage = Java.type('storage.DataStorage')
2
3437
* def db = new mystorage
17
3438
* def db = db.setfeature(karate.info.featureFileName)
8
3439
* def separator = java.lang.System.getProperty("file.separator")
1
3440
* def outputpath = db.outputpath()
1
3441
* eval db.ensureDirectory(outputpath)
1
3442
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3443
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3444
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3445
Given path 'geonetwork/srv/dut/inspire'
1
3446
And param service = 'CSW'
0
3447
And param version = '2.0.2'
0
3448
And param request = 'GetRecordById'
0
3449
And param id = 'a2724dae-ebad-4a07-9405-49bddfde3368'
0
3450
And param elementsetname = 'full'
0
3451
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3452
When method get
1762
3453
Then status 200
0
3454
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2724dae-ebad-4a07-9405-49bddfde3368'
1
3455
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3456
* def title = get response //citation/CI_Citation/title/CharacterString
0
3457
* def email = get response //electronicMailAddress/CharacterString
1
3458
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3459
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3460
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3461
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3462
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3463
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3464
* print organisationpath
0
06:40:33.373 [print] Beheer PDOK
3465
* print operateson
0
06:40:33.373 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification
3466
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3467
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3468
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.103:18]627b50bf-2e33-4beb-a314-ff8c0fe8912e
ms: 1907
>>
Background:
3469
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3470
* def mystorage = Java.type('storage.DataStorage')
2
3471
* def db = new mystorage
17
3472
* def db = db.setfeature(karate.info.featureFileName)
8
3473
* def separator = java.lang.System.getProperty("file.separator")
1
3474
* def outputpath = db.outputpath()
1
3475
* eval db.ensureDirectory(outputpath)
1
3476
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3477
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3478
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3479
Given path 'geonetwork/srv/dut/inspire'
0
3480
And param service = 'CSW'
0
3481
And param version = '2.0.2'
0
3482
And param request = 'GetRecordById'
0
3483
And param id = '627b50bf-2e33-4beb-a314-ff8c0fe8912e'
0
3484
And param elementsetname = 'full'
0
3485
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3486
When method get
1894
3487
Then status 200
0
3488
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '627b50bf-2e33-4beb-a314-ff8c0fe8912e'
1
3489
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3490
* def title = get response //citation/CI_Citation/title/CharacterString
1
3491
* def email = get response //electronicMailAddress/CharacterString
1
3492
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3493
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3494
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3495
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3496
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3497
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3498
* print organisationpath
0
06:40:33.556 [print] Beheer PDOK
3499
* print operateson
0
06:40:33.556 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
3500
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3501
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
3502
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.104:18]95e2c712-1b91-4f24-9453-c56b95227717
ms: 1875
>>
Background:
3503
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3504
* def mystorage = Java.type('storage.DataStorage')
2
3505
* def db = new mystorage
17
3506
* def db = db.setfeature(karate.info.featureFileName)
8
3507
* def separator = java.lang.System.getProperty("file.separator")
1
3508
* def outputpath = db.outputpath()
1
3509
* eval db.ensureDirectory(outputpath)
1
3510
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3511
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3512
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3513
Given path 'geonetwork/srv/dut/inspire'
0
3514
And param service = 'CSW'
0
3515
And param version = '2.0.2'
0
3516
And param request = 'GetRecordById'
0
3517
And param id = '95e2c712-1b91-4f24-9453-c56b95227717'
0
3518
And param elementsetname = 'full'
0
3519
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3520
When method get
1863
3521
Then status 200
0
3522
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '95e2c712-1b91-4f24-9453-c56b95227717'
1
3523
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3524
* def title = get response //citation/CI_Citation/title/CharacterString
1
3525
* def email = get response //electronicMailAddress/CharacterString
1
3526
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3527
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3528
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3529
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3530
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3531
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3532
* print organisationpath
2
06:40:33.575 [print]
3533
* print operateson
0
06:40:33.575 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification
3534
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3535
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3536
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.105:18]d293204f-6581-4b0a-811b-1dcce97adedd
ms: 2013
>>
Background:
3537
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3538
* def mystorage = Java.type('storage.DataStorage')
2
3539
* def db = new mystorage
17
3540
* def db = db.setfeature(karate.info.featureFileName)
8
3541
* def separator = java.lang.System.getProperty("file.separator")
1
3542
* def outputpath = db.outputpath()
1
3543
* eval db.ensureDirectory(outputpath)
1
3544
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3545
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3546
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3547
Given path 'geonetwork/srv/dut/inspire'
0
3548
And param service = 'CSW'
0
3549
And param version = '2.0.2'
0
3550
And param request = 'GetRecordById'
0
3551
And param id = 'd293204f-6581-4b0a-811b-1dcce97adedd'
0
3552
And param elementsetname = 'full'
0
3553
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3554
When method get
2005
3555
Then status 200
0
3556
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd293204f-6581-4b0a-811b-1dcce97adedd'
1
3557
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3558
* def title = get response //citation/CI_Citation/title/CharacterString
0
3559
* def email = get response //electronicMailAddress/CharacterString
0
3560
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3561
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3562
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3563
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3564
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3565
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3566
* print organisationpath
0
06:40:33.757 [print] Beheer PDOK
3567
* print operateson
0
06:40:33.757 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification
3568
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3569
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3570
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.106:18]ee543323-0fe4-4353-9161-eda61ff26c07
ms: 1845
>>
Background:
3571
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3572
* def mystorage = Java.type('storage.DataStorage')
2
3573
* def db = new mystorage
17
3574
* def db = db.setfeature(karate.info.featureFileName)
8
3575
* def separator = java.lang.System.getProperty("file.separator")
1
3576
* def outputpath = db.outputpath()
1
3577
* eval db.ensureDirectory(outputpath)
1
3578
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3579
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3580
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3581
Given path 'geonetwork/srv/dut/inspire'
0
3582
And param service = 'CSW'
0
3583
And param version = '2.0.2'
0
3584
And param request = 'GetRecordById'
0
3585
And param id = 'ee543323-0fe4-4353-9161-eda61ff26c07'
0
3586
And param elementsetname = 'full'
0
3587
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3588
When method get
1835
3589
Then status 200
0
3590
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ee543323-0fe4-4353-9161-eda61ff26c07'
1
3591
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3592
* def title = get response //citation/CI_Citation/title/CharacterString
0
3593
* def email = get response //electronicMailAddress/CharacterString
0
3594
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3595
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3596
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3597
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3598
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3599
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3600
* print organisationpath
0
06:40:33.698 [print] Beheer PDOK
3601
* print operateson
0
06:40:33.698 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
3602
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3603
* eval db.writeln('"ee543323-0fe4-4353-9161-eda61ff26c07","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3604
* eval db.writeln('"ee543323-0fe4-4353-9161-eda61ff26c07","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.107:18]c99b1291-c51f-49c8-902d-5bd4148cbbde
ms: 1837
>>
Background:
3605
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3606
* def mystorage = Java.type('storage.DataStorage')
2
3607
* def db = new mystorage
17
3608
* def db = db.setfeature(karate.info.featureFileName)
8
3609
* def separator = java.lang.System.getProperty("file.separator")
1
3610
* def outputpath = db.outputpath()
1
3611
* eval db.ensureDirectory(outputpath)
1
3612
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3613
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3614
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3615
Given path 'geonetwork/srv/dut/inspire'
1
3616
And param service = 'CSW'
0
3617
And param version = '2.0.2'
0
3618
And param request = 'GetRecordById'
0
3619
And param id = 'c99b1291-c51f-49c8-902d-5bd4148cbbde'
0
3620
And param elementsetname = 'full'
0
3621
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3622
When method get
1827
3623
Then status 200
0
3624
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c99b1291-c51f-49c8-902d-5bd4148cbbde'
1
3625
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3626
* def title = get response //citation/CI_Citation/title/CharacterString
0
3627
* def email = get response //electronicMailAddress/CharacterString
0
3628
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3629
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3630
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3631
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3632
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3633
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3634
* print organisationpath
0
06:40:33.792 [print] Interprovinciaal Overleg
3635
* print operateson
0
06:40:33.792 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
3636
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3637
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3638
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.108:18]76342a6d-452e-4e21-b5c0-81ff7b1be90e
ms: 1861
>>
Background:
3639
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3640
* def mystorage = Java.type('storage.DataStorage')
2
3641
* def db = new mystorage
17
3642
* def db = db.setfeature(karate.info.featureFileName)
8
3643
* def separator = java.lang.System.getProperty("file.separator")
1
3644
* def outputpath = db.outputpath()
1
3645
* eval db.ensureDirectory(outputpath)
1
3646
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3647
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3648
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3649
Given path 'geonetwork/srv/dut/inspire'
1
3650
And param service = 'CSW'
0
3651
And param version = '2.0.2'
0
3652
And param request = 'GetRecordById'
0
3653
And param id = '76342a6d-452e-4e21-b5c0-81ff7b1be90e'
1
3654
And param elementsetname = 'full'
0
3655
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3656
When method get
1852
3657
Then status 200
0
3658
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76342a6d-452e-4e21-b5c0-81ff7b1be90e'
1
3659
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3660
* def title = get response //citation/CI_Citation/title/CharacterString
0
3661
* def email = get response //electronicMailAddress/CharacterString
0
3662
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3663
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3664
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3665
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3666
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3667
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3668
* print organisationpath
0
06:40:33.935 [print] TNO Geologische Dienst Nederland
3669
* print operateson
0
06:40:33.935 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
3670
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3671
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3672
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.109:18]635bdc85-c596-4afb-ab07-de20c662310c
ms: 1859
>>
Background:
3673
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3674
* def mystorage = Java.type('storage.DataStorage')
2
3675
* def db = new mystorage
17
3676
* def db = db.setfeature(karate.info.featureFileName)
8
3677
* def separator = java.lang.System.getProperty("file.separator")
1
3678
* def outputpath = db.outputpath()
1
3679
* eval db.ensureDirectory(outputpath)
1
3680
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3681
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3682
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3683
Given path 'geonetwork/srv/dut/inspire'
9
3684
And param service = 'CSW'
0
3685
And param version = '2.0.2'
0
3686
And param request = 'GetRecordById'
0
3687
And param id = '635bdc85-c596-4afb-ab07-de20c662310c'
1
3688
And param elementsetname = 'full'
0
3689
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3690
When method get
1841
3691
Then status 200
0
3692
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '635bdc85-c596-4afb-ab07-de20c662310c'
1
3693
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3694
* def title = get response //citation/CI_Citation/title/CharacterString
0
3695
* def email = get response //electronicMailAddress/CharacterString
0
3696
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3697
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3698
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3699
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3700
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3701
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3702
* print organisationpath
0
06:40:34.020 [print] Beheer PDOK
3703
* print operateson
0
06:40:34.020 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification
3704
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3705
* eval db.writeln('"635bdc85-c596-4afb-ab07-de20c662310c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3706
* eval db.writeln('"635bdc85-c596-4afb-ab07-de20c662310c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.110:18]027e3f15-3b58-4570-97bb-779ce3ca947e
ms: 1810
>>
Background:
3707
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3708
* def mystorage = Java.type('storage.DataStorage')
2
3709
* def db = new mystorage
17
3710
* def db = db.setfeature(karate.info.featureFileName)
8
3711
* def separator = java.lang.System.getProperty("file.separator")
1
3712
* def outputpath = db.outputpath()
1
3713
* eval db.ensureDirectory(outputpath)
1
3714
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3715
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3716
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3717
Given path 'geonetwork/srv/dut/inspire'
0
3718
And param service = 'CSW'
0
3719
And param version = '2.0.2'
0
3720
And param request = 'GetRecordById'
0
3721
And param id = '027e3f15-3b58-4570-97bb-779ce3ca947e'
0
3722
And param elementsetname = 'full'
0
3723
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3724
When method get
1798
3725
Then status 200
0
3726
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '027e3f15-3b58-4570-97bb-779ce3ca947e'
1
3727
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3728
* def title = get response //citation/CI_Citation/title/CharacterString
0
3729
* def email = get response //electronicMailAddress/CharacterString
0
3730
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3731
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3732
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3733
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3734
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3735
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3736
* print organisationpath
0
06:40:33.980 [print] Beheer PDOK
3737
* print operateson
0
06:40:33.980 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification
3738
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3739
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3740
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.111:18]2650d49b-7d9a-49b5-b748-a0372cd9b5cf
ms: 1924
>>
Background:
3741
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3742
* def mystorage = Java.type('storage.DataStorage')
2
3743
* def db = new mystorage
17
3744
* def db = db.setfeature(karate.info.featureFileName)
8
3745
* def separator = java.lang.System.getProperty("file.separator")
1
3746
* def outputpath = db.outputpath()
1
3747
* eval db.ensureDirectory(outputpath)
1
3748
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3749
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3750
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3751
Given path 'geonetwork/srv/dut/inspire'
0
3752
And param service = 'CSW'
0
3753
And param version = '2.0.2'
0
3754
And param request = 'GetRecordById'
0
3755
And param id = '2650d49b-7d9a-49b5-b748-a0372cd9b5cf'
0
3756
And param elementsetname = 'full'
0
3757
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3758
When method get
1912
3759
Then status 200
0
3760
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2650d49b-7d9a-49b5-b748-a0372cd9b5cf'
1
3761
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3762
* def title = get response //citation/CI_Citation/title/CharacterString
0
3763
* def email = get response //electronicMailAddress/CharacterString
0
3764
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3765
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3766
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3767
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3768
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3769
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3770
* print organisationpath
2
06:40:34.138 [print] Beheer PDOK
3771
* print operateson
0
06:40:34.138 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification
3772
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3773
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3774
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.112:18]777f41ee-8269-4bbc-b0e4-f889c62be099
ms: 1938
>>
Background:
3775
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3776
* def mystorage = Java.type('storage.DataStorage')
2
3777
* def db = new mystorage
17
3778
* def db = db.setfeature(karate.info.featureFileName)
8
3779
* def separator = java.lang.System.getProperty("file.separator")
1
3780
* def outputpath = db.outputpath()
1
3781
* eval db.ensureDirectory(outputpath)
1
3782
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3783
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3784
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3785
Given path 'geonetwork/srv/dut/inspire'
0
3786
And param service = 'CSW'
0
3787
And param version = '2.0.2'
0
3788
And param request = 'GetRecordById'
0
3789
And param id = '777f41ee-8269-4bbc-b0e4-f889c62be099'
0
3790
And param elementsetname = 'full'
0
3791
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3792
When method get
1929
3793
Then status 200
0
3794
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '777f41ee-8269-4bbc-b0e4-f889c62be099'
1
3795
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3796
* def title = get response //citation/CI_Citation/title/CharacterString
0
3797
* def email = get response //electronicMailAddress/CharacterString
0
3798
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3799
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3800
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3801
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3802
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3803
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3804
* print organisationpath
0
06:40:34.267 [print]
3805
* print operateson
0
06:40:34.267 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification
3806
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3807
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3808
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.113:18]d7bc97fa-6b4a-4321-a7c4-cd621bc0be77
ms: 1891
>>
Background:
3809
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3810
* def mystorage = Java.type('storage.DataStorage')
2
3811
* def db = new mystorage
17
3812
* def db = db.setfeature(karate.info.featureFileName)
8
3813
* def separator = java.lang.System.getProperty("file.separator")
1
3814
* def outputpath = db.outputpath()
1
3815
* eval db.ensureDirectory(outputpath)
1
3816
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3817
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3818
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3819
Given path 'geonetwork/srv/dut/inspire'
0
3820
And param service = 'CSW'
0
3821
And param version = '2.0.2'
0
3822
And param request = 'GetRecordById'
0
3823
And param id = 'd7bc97fa-6b4a-4321-a7c4-cd621bc0be77'
0
3824
And param elementsetname = 'full'
0
3825
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3826
When method get
1880
3827
Then status 200
0
3828
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7bc97fa-6b4a-4321-a7c4-cd621bc0be77'
1
3829
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3830
* def title = get response //citation/CI_Citation/title/CharacterString
0
3831
* def email = get response //electronicMailAddress/CharacterString
0
3832
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3833
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3834
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3835
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3836
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3837
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3838
* print organisationpath
0
06:40:34.311 [print] Beheer PDOK
3839
* print operateson
0
06:40:34.311 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
3840
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3841
* eval db.writeln('"d7bc97fa-6b4a-4321-a7c4-cd621bc0be77","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3842
* eval db.writeln('"d7bc97fa-6b4a-4321-a7c4-cd621bc0be77","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.114:18]4b6752ae-65d6-44b5-98ef-1fc30f4fd92d
ms: 1910
>>
Background:
3843
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3844
* def mystorage = Java.type('storage.DataStorage')
2
3845
* def db = new mystorage
17
3846
* def db = db.setfeature(karate.info.featureFileName)
8
3847
* def separator = java.lang.System.getProperty("file.separator")
1
3848
* def outputpath = db.outputpath()
1
3849
* eval db.ensureDirectory(outputpath)
1
3850
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3851
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3852
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3853
Given path 'geonetwork/srv/dut/inspire'
0
3854
And param service = 'CSW'
0
3855
And param version = '2.0.2'
0
3856
And param request = 'GetRecordById'
0
3857
And param id = '4b6752ae-65d6-44b5-98ef-1fc30f4fd92d'
0
3858
And param elementsetname = 'full'
0
3859
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3860
When method get
1901
3861
Then status 200
0
3862
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4b6752ae-65d6-44b5-98ef-1fc30f4fd92d'
1
3863
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3864
* def title = get response //citation/CI_Citation/title/CharacterString
0
3865
* def email = get response //electronicMailAddress/CharacterString
1
3866
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3867
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3868
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3869
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3870
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3871
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3872
* print organisationpath
0
06:40:34.364 [print] Beheer PDOK
3873
* print operateson
0
06:40:34.364 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=50eef6be-619d-4e16-9b92-48971109b636#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8de2f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38#MD_DataIdentification" ]
3874
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3875
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3876
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.115:18]060d1139-c371-4c1e-9890-55999adfa4f9
ms: 1940
>>
Background:
3877
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3878
* def mystorage = Java.type('storage.DataStorage')
2
3879
* def db = new mystorage
17
3880
* def db = db.setfeature(karate.info.featureFileName)
8
3881
* def separator = java.lang.System.getProperty("file.separator")
1
3882
* def outputpath = db.outputpath()
1
3883
* eval db.ensureDirectory(outputpath)
1
3884
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3885
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3886
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3887
Given path 'geonetwork/srv/dut/inspire'
0
3888
And param service = 'CSW'
0
3889
And param version = '2.0.2'
0
3890
And param request = 'GetRecordById'
0
3891
And param id = '060d1139-c371-4c1e-9890-55999adfa4f9'
0
3892
And param elementsetname = 'full'
0
3893
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3894
When method get
1932
3895
Then status 200
0
3896
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '060d1139-c371-4c1e-9890-55999adfa4f9'
1
3897
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3898
* def title = get response //citation/CI_Citation/title/CharacterString
0
3899
* def email = get response //electronicMailAddress/CharacterString
0
3900
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3901
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3902
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3903
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3904
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3905
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3906
* print organisationpath
0
06:40:34.423 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
3907
* print operateson
0
06:40:34.423 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
3908
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3909
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3910
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.116:18]3d759186-7cee-4218-aa44-165f3922fbbb
ms: 1856
>>
Background:
3911
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3912
* def mystorage = Java.type('storage.DataStorage')
2
3913
* def db = new mystorage
17
3914
* def db = db.setfeature(karate.info.featureFileName)
8
3915
* def separator = java.lang.System.getProperty("file.separator")
1
3916
* def outputpath = db.outputpath()
1
3917
* eval db.ensureDirectory(outputpath)
1
3918
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3919
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3920
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3921
Given path 'geonetwork/srv/dut/inspire'
1
3922
And param service = 'CSW'
0
3923
And param version = '2.0.2'
0
3924
And param request = 'GetRecordById'
0
3925
And param id = '3d759186-7cee-4218-aa44-165f3922fbbb'
0
3926
And param elementsetname = 'full'
0
3927
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3928
When method get
1847
3929
Then status 200
0
3930
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d759186-7cee-4218-aa44-165f3922fbbb'
1
3931
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3932
* def title = get response //citation/CI_Citation/title/CharacterString
0
3933
* def email = get response //electronicMailAddress/CharacterString
0
3934
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3935
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3936
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3937
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3938
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3939
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3940
* print organisationpath
0
06:40:34.505 [print] Beheer PDOK
3941
* print operateson
0
06:40:34.505 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification
3942
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3943
* eval db.writeln('"3d759186-7cee-4218-aa44-165f3922fbbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3944
* eval db.writeln('"3d759186-7cee-4218-aa44-165f3922fbbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.117:18]f2d2cd9d-7410-485a-95e0-c1b885243eaf
ms: 1867
>>
Background:
3945
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3946
* def mystorage = Java.type('storage.DataStorage')
2
3947
* def db = new mystorage
17
3948
* def db = db.setfeature(karate.info.featureFileName)
8
3949
* def separator = java.lang.System.getProperty("file.separator")
1
3950
* def outputpath = db.outputpath()
1
3951
* eval db.ensureDirectory(outputpath)
1
3952
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3953
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3954
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3955
Given path 'geonetwork/srv/dut/inspire'
0
3956
And param service = 'CSW'
0
3957
And param version = '2.0.2'
0
3958
And param request = 'GetRecordById'
0
3959
And param id = 'f2d2cd9d-7410-485a-95e0-c1b885243eaf'
1
3960
And param elementsetname = 'full'
0
3961
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3962
When method get
1859
3963
Then status 200
0
3964
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2d2cd9d-7410-485a-95e0-c1b885243eaf'
1
3965
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3966
* def title = get response //citation/CI_Citation/title/CharacterString
0
3967
* def email = get response //electronicMailAddress/CharacterString
0
3968
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3969
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3970
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3971
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3972
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3973
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3974
* print organisationpath
0
06:40:34.520 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
3975
* print operateson
0
06:40:34.520 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification
3976
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3977
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3978
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.118:18]745968a3-37af-4406-988e-ec595f58c7fe
ms: 1774
>>
Background:
3979
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
3980
* def mystorage = Java.type('storage.DataStorage')
2
3981
* def db = new mystorage
17
3982
* def db = db.setfeature(karate.info.featureFileName)
8
3983
* def separator = java.lang.System.getProperty("file.separator")
1
3984
* def outputpath = db.outputpath()
1
3985
* eval db.ensureDirectory(outputpath)
1
3986
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3987
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3988
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3989
Given path 'geonetwork/srv/dut/inspire'
0
3990
And param service = 'CSW'
0
3991
And param version = '2.0.2'
0
3992
And param request = 'GetRecordById'
0
3993
And param id = '745968a3-37af-4406-988e-ec595f58c7fe'
0
3994
And param elementsetname = 'full'
0
3995
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3996
When method get
1765
3997
Then status 200
0
3998
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '745968a3-37af-4406-988e-ec595f58c7fe'
1
3999
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4000
* def title = get response //citation/CI_Citation/title/CharacterString
0
4001
* def email = get response //electronicMailAddress/CharacterString
1
4002
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4003
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4004
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4005
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4006
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4007
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4008
* print organisationpath
0
06:40:34.465 [print]
4009
* print operateson
0
06:40:34.465 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification
4010
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4011
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4012
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.119:18]0426f471-f325-42ed-a775-81c397592e86
ms: 1978
>>
Background:
4013
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4014
* def mystorage = Java.type('storage.DataStorage')
2
4015
* def db = new mystorage
17
4016
* def db = db.setfeature(karate.info.featureFileName)
8
4017
* def separator = java.lang.System.getProperty("file.separator")
1
4018
* def outputpath = db.outputpath()
1
4019
* eval db.ensureDirectory(outputpath)
1
4020
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4021
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4022
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4023
Given path 'geonetwork/srv/dut/inspire'
0
4024
And param service = 'CSW'
0
4025
And param version = '2.0.2'
0
4026
And param request = 'GetRecordById'
0
4027
And param id = '0426f471-f325-42ed-a775-81c397592e86'
1
4028
And param elementsetname = 'full'
0
4029
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4030
When method get
1969
4031
Then status 200
0
4032
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0426f471-f325-42ed-a775-81c397592e86'
1
4033
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4034
* def title = get response //citation/CI_Citation/title/CharacterString
0
4035
* def email = get response //electronicMailAddress/CharacterString
0
4036
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4037
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4038
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4039
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4040
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4041
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4042
* print organisationpath
0
06:40:34.708 [print]
4043
* print operateson
0
06:40:34.708 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification
4044
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4045
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4046
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.120:18]25c69c01-8dfa-406f-bbcb-24feba25dcc6
ms: 1826
>>
Background:
4047
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4048
* def mystorage = Java.type('storage.DataStorage')
2
4049
* def db = new mystorage
17
4050
* def db = db.setfeature(karate.info.featureFileName)
8
4051
* def separator = java.lang.System.getProperty("file.separator")
1
4052
* def outputpath = db.outputpath()
1
4053
* eval db.ensureDirectory(outputpath)
1
4054
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4055
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4056
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4057
Given path 'geonetwork/srv/dut/inspire'
1
4058
And param service = 'CSW'
0
4059
And param version = '2.0.2'
0
4060
And param request = 'GetRecordById'
0
4061
And param id = '25c69c01-8dfa-406f-bbcb-24feba25dcc6'
3
4062
And param elementsetname = 'full'
0
4063
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4064
When method get
1813
4065
Then status 200
0
4066
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25c69c01-8dfa-406f-bbcb-24feba25dcc6'
1
4067
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4068
* def title = get response //citation/CI_Citation/title/CharacterString
0
4069
* def email = get response //electronicMailAddress/CharacterString
0
4070
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4071
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4072
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4073
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4074
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4075
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4076
* print organisationpath
0
06:40:34.755 [print] Beheer PDOK
4077
* print operateson
1
06:40:34.755 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f0821bfe-5a0a-11e9-8647-d663bd873d93#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification" ]
4078
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4079
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4080
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.121:18]68d14b1c-71ad-4ce7-8267-45787a80c2d4
ms: 1716
>>
Background:
4081
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4082
* def mystorage = Java.type('storage.DataStorage')
2
4083
* def db = new mystorage
17
4084
* def db = db.setfeature(karate.info.featureFileName)
8
4085
* def separator = java.lang.System.getProperty("file.separator")
1
4086
* def outputpath = db.outputpath()
1
4087
* eval db.ensureDirectory(outputpath)
1
4088
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4089
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4090
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4091
Given path 'geonetwork/srv/dut/inspire'
0
4092
And param service = 'CSW'
0
4093
And param version = '2.0.2'
0
4094
And param request = 'GetRecordById'
0
4095
And param id = '68d14b1c-71ad-4ce7-8267-45787a80c2d4'
0
4096
And param elementsetname = 'full'
0
4097
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4098
When method get
1702
4099
Then status 200
0
4100
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68d14b1c-71ad-4ce7-8267-45787a80c2d4'
1
4101
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4102
* def title = get response //citation/CI_Citation/title/CharacterString
1
4103
* def email = get response //electronicMailAddress/CharacterString
1
4104
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4105
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4106
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4107
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4108
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4109
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4110
* print organisationpath
0
06:40:34.814 [print] Beheer PDOK
4111
* print operateson
0
06:40:34.814 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification
4112
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
4
4113
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4114
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.122:18]539ec652-482d-4806-a830-0458cf8be477
ms: 1499
>>
Background:
4115
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4116
* def mystorage = Java.type('storage.DataStorage')
2
4117
* def db = new mystorage
17
4118
* def db = db.setfeature(karate.info.featureFileName)
8
4119
* def separator = java.lang.System.getProperty("file.separator")
1
4120
* def outputpath = db.outputpath()
1
4121
* eval db.ensureDirectory(outputpath)
1
4122
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4123
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4124
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4125
Given path 'geonetwork/srv/dut/inspire'
0
4126
And param service = 'CSW'
0
4127
And param version = '2.0.2'
0
4128
And param request = 'GetRecordById'
0
4129
And param id = '539ec652-482d-4806-a830-0458cf8be477'
0
4130
And param elementsetname = 'full'
0
4131
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4132
When method get
1488
4133
Then status 200
0
4134
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '539ec652-482d-4806-a830-0458cf8be477'
1
4135
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4136
* def title = get response //citation/CI_Citation/title/CharacterString
0
4137
* def email = get response //electronicMailAddress/CharacterString
0
4138
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4139
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4140
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
4141
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4142
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4143
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4144
* print organisationpath
0
06:40:34.605 [print] Informatiehuis Water
4145
* print operateson
0
06:40:34.605 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
4146
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4147
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4148
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.123:18]67bcc21d-beda-449d-975c-00a4fa80f2b7
ms: 1824
>>
Background:
4149
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4150
* def mystorage = Java.type('storage.DataStorage')
2
4151
* def db = new mystorage
17
4152
* def db = db.setfeature(karate.info.featureFileName)
8
4153
* def separator = java.lang.System.getProperty("file.separator")
1
4154
* def outputpath = db.outputpath()
1
4155
* eval db.ensureDirectory(outputpath)
1
4156
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4157
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4158
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4159
Given path 'geonetwork/srv/dut/inspire'
0
4160
And param service = 'CSW'
0
4161
And param version = '2.0.2'
0
4162
And param request = 'GetRecordById'
0
4163
And param id = '67bcc21d-beda-449d-975c-00a4fa80f2b7'
0
4164
And param elementsetname = 'full'
0
4165
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4166
When method get
1815
4167
Then status 200
0
4168
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '67bcc21d-beda-449d-975c-00a4fa80f2b7'
1
4169
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4170
* def title = get response //citation/CI_Citation/title/CharacterString
0
4171
* def email = get response //electronicMailAddress/CharacterString
0
4172
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4173
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4174
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4175
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4176
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4177
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4178
* print organisationpath
0
06:40:34.973 [print]
4179
* print operateson
0
06:40:34.973 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification
4180
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4181
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4182
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.124:18]a8ad0d7d-ea9e-4261-bc92-772e99a41387
ms: 1849
>>
Background:
4183
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4184
* def mystorage = Java.type('storage.DataStorage')
2
4185
* def db = new mystorage
17
4186
* def db = db.setfeature(karate.info.featureFileName)
8
4187
* def separator = java.lang.System.getProperty("file.separator")
1
4188
* def outputpath = db.outputpath()
1
4189
* eval db.ensureDirectory(outputpath)
1
4190
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4191
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4192
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4193
Given path 'geonetwork/srv/dut/inspire'
0
4194
And param service = 'CSW'
0
4195
And param version = '2.0.2'
0
4196
And param request = 'GetRecordById'
0
4197
And param id = 'a8ad0d7d-ea9e-4261-bc92-772e99a41387'
1
4198
And param elementsetname = 'full'
0
4199
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4200
When method get
1837
4201
Then status 200
0
4202
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a8ad0d7d-ea9e-4261-bc92-772e99a41387'
1
4203
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4204
* def title = get response //citation/CI_Citation/title/CharacterString
1
4205
* def email = get response //electronicMailAddress/CharacterString
0
4206
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4207
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4208
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4209
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4210
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4211
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4212
* print organisationpath
0
06:40:35.041 [print] Beheer PDOK
4213
* print operateson
0
06:40:35.041 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/eng/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification
4214
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4215
* eval db.writeln('"a8ad0d7d-ea9e-4261-bc92-772e99a41387","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4216
* eval db.writeln('"a8ad0d7d-ea9e-4261-bc92-772e99a41387","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.125:18]7a914681-61bd-4f67-902b-45037a00c469
ms: 1756
>>
Background:
4217
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4218
* def mystorage = Java.type('storage.DataStorage')
2
4219
* def db = new mystorage
17
4220
* def db = db.setfeature(karate.info.featureFileName)
8
4221
* def separator = java.lang.System.getProperty("file.separator")
1
4222
* def outputpath = db.outputpath()
1
4223
* eval db.ensureDirectory(outputpath)
1
4224
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4225
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4226
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4227
Given path 'geonetwork/srv/dut/inspire'
0
4228
And param service = 'CSW'
0
4229
And param version = '2.0.2'
0
4230
And param request = 'GetRecordById'
0
4231
And param id = '7a914681-61bd-4f67-902b-45037a00c469'
0
4232
And param elementsetname = 'full'
0
4233
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4234
When method get
1742
4235
Then status 200
0
4236
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7a914681-61bd-4f67-902b-45037a00c469'
1
4237
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4238
* def title = get response //citation/CI_Citation/title/CharacterString
0
4239
* def email = get response //electronicMailAddress/CharacterString
0
4240
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4241
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4242
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4243
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4244
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4245
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4246
* print organisationpath
5
06:40:35.007 [print]
4247
* print operateson
0
06:40:35.007 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7939fd42-cf88-42c5-ab3b-232cf232a3ac#MD_DataIdentification
4248
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4249
* eval db.writeln('"7a914681-61bd-4f67-902b-45037a00c469","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4250
* eval db.writeln('"7a914681-61bd-4f67-902b-45037a00c469","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.126:18]42f5363b-cea7-4163-a4e9-bc2d1a7a243c
ms: 1806
>>
Background:
4251
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4252
* def mystorage = Java.type('storage.DataStorage')
2
4253
* def db = new mystorage
17
4254
* def db = db.setfeature(karate.info.featureFileName)
8
4255
* def separator = java.lang.System.getProperty("file.separator")
1
4256
* def outputpath = db.outputpath()
1
4257
* eval db.ensureDirectory(outputpath)
1
4258
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4259
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4260
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4261
Given path 'geonetwork/srv/dut/inspire'
0
4262
And param service = 'CSW'
0
4263
And param version = '2.0.2'
0
4264
And param request = 'GetRecordById'
0
4265
And param id = '42f5363b-cea7-4163-a4e9-bc2d1a7a243c'
0
4266
And param elementsetname = 'full'
0
4267
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4268
When method get
1795
4269
Then status 200
0
4270
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42f5363b-cea7-4163-a4e9-bc2d1a7a243c'
1
4271
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4272
* def title = get response //citation/CI_Citation/title/CharacterString
0
4273
* def email = get response //electronicMailAddress/CharacterString
1
4274
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4275
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4276
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4277
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4278
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4279
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4280
* print organisationpath
0
06:40:35.179 [print] Beheer PDOK
4281
* print operateson
0
06:40:35.179 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification
4282
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4283
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4284
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.127:18]9699058e-707e-41df-93b5-ff75654d32b2
ms: 1575
>>
Background:
4285
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4286
* def mystorage = Java.type('storage.DataStorage')
2
4287
* def db = new mystorage
17
4288
* def db = db.setfeature(karate.info.featureFileName)
8
4289
* def separator = java.lang.System.getProperty("file.separator")
1
4290
* def outputpath = db.outputpath()
1
4291
* eval db.ensureDirectory(outputpath)
1
4292
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4293
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4294
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4295
Given path 'geonetwork/srv/dut/inspire'
1
4296
And param service = 'CSW'
0
4297
And param version = '2.0.2'
0
4298
And param request = 'GetRecordById'
0
4299
And param id = '9699058e-707e-41df-93b5-ff75654d32b2'
0
4300
And param elementsetname = 'full'
0
4301
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4302
When method get
1564
4303
Then status 200
0
4304
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9699058e-707e-41df-93b5-ff75654d32b2'
1
4305
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4306
* def title = get response //citation/CI_Citation/title/CharacterString
0
4307
* def email = get response //electronicMailAddress/CharacterString
0
4308
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4309
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4310
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4311
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4312
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4313
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4314
* print organisationpath
0
06:40:35.133 [print] Beheer PDOK
4315
* print operateson
0
06:40:35.133 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification
4316
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4317
* eval db.writeln('"9699058e-707e-41df-93b5-ff75654d32b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4318
* eval db.writeln('"9699058e-707e-41df-93b5-ff75654d32b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.128:18]2f12ef7d-3eb4-46a9-8b45-702a0f054d57
ms: 1827
>>
Background:
4319
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4320
* def mystorage = Java.type('storage.DataStorage')
2
4321
* def db = new mystorage
17
4322
* def db = db.setfeature(karate.info.featureFileName)
8
4323
* def separator = java.lang.System.getProperty("file.separator")
1
4324
* def outputpath = db.outputpath()
1
4325
* eval db.ensureDirectory(outputpath)
1
4326
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4327
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4328
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4329
Given path 'geonetwork/srv/dut/inspire'
1
4330
And param service = 'CSW'
0
4331
And param version = '2.0.2'
0
4332
And param request = 'GetRecordById'
0
4333
And param id = '2f12ef7d-3eb4-46a9-8b45-702a0f054d57'
0
4334
And param elementsetname = 'full'
0
4335
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4336
When method get
1815
4337
Then status 200
0
4338
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2f12ef7d-3eb4-46a9-8b45-702a0f054d57'
1
4339
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4340
* def title = get response //citation/CI_Citation/title/CharacterString
0
4341
* def email = get response //electronicMailAddress/CharacterString
0
4342
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4343
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4344
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4345
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4346
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4347
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4348
* print organisationpath
0
06:40:35.402 [print] Beheer PDOK
4349
* print operateson
0
06:40:35.402 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification
4350
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4351
* eval db.writeln('"2f12ef7d-3eb4-46a9-8b45-702a0f054d57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4352
* eval db.writeln('"2f12ef7d-3eb4-46a9-8b45-702a0f054d57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.129:18]4fb15e0d-d88f-40f1-b407-3d3edcf7e184
ms: 1712
>>
Background:
4353
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4354
* def mystorage = Java.type('storage.DataStorage')
2
4355
* def db = new mystorage
17
4356
* def db = db.setfeature(karate.info.featureFileName)
8
4357
* def separator = java.lang.System.getProperty("file.separator")
1
4358
* def outputpath = db.outputpath()
1
4359
* eval db.ensureDirectory(outputpath)
1
4360
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4361
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4362
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4363
Given path 'geonetwork/srv/dut/inspire'
0
4364
And param service = 'CSW'
0
4365
And param version = '2.0.2'
0
4366
And param request = 'GetRecordById'
0
4367
And param id = '4fb15e0d-d88f-40f1-b407-3d3edcf7e184'
0
4368
And param elementsetname = 'full'
0
4369
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4370
When method get
1702
4371
Then status 200
0
4372
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4fb15e0d-d88f-40f1-b407-3d3edcf7e184'
1
4373
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4374
* def title = get response //citation/CI_Citation/title/CharacterString
0
4375
* def email = get response //electronicMailAddress/CharacterString
1
4376
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4377
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4378
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4379
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4380
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4381
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4382
* print organisationpath
0
06:40:35.411 [print] Beheer PDOK
4383
* print operateson
0
06:40:35.411 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification
4384
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4385
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4386
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.130:18]76854ff3-a853-4405-b9fd-acef66460376
ms: 2190
>>
Background:
4387
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4388
* def mystorage = Java.type('storage.DataStorage')
2
4389
* def db = new mystorage
17
4390
* def db = db.setfeature(karate.info.featureFileName)
8
4391
* def separator = java.lang.System.getProperty("file.separator")
1
4392
* def outputpath = db.outputpath()
1
4393
* eval db.ensureDirectory(outputpath)
1
4394
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4395
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4396
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4397
Given path 'geonetwork/srv/dut/inspire'
0
4398
And param service = 'CSW'
0
4399
And param version = '2.0.2'
0
4400
And param request = 'GetRecordById'
0
4401
And param id = '76854ff3-a853-4405-b9fd-acef66460376'
0
4402
And param elementsetname = 'full'
0
4403
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4404
When method get
2006
4405
Then status 200
0
4406
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76854ff3-a853-4405-b9fd-acef66460376'
25
4407
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
7
4408
* def title = get response //citation/CI_Citation/title/CharacterString
31
4409
* def email = get response //electronicMailAddress/CharacterString
19
4410
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
17
4411
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
15
4412
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
6
4413
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
5
4414
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
6
4415
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
9
4416
* print organisationpath
0
06:40:35.907 [print] Beheer PDOK
4417
* print operateson
0
06:40:35.907 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification
4418
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
39
4419
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
4420
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.131:18]7681eb19-a914-4dc7-9208-c2a131dca06d
ms: 1926
>>
Background:
4421
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4422
* def mystorage = Java.type('storage.DataStorage')
2
4423
* def db = new mystorage
17
4424
* def db = db.setfeature(karate.info.featureFileName)
8
4425
* def separator = java.lang.System.getProperty("file.separator")
1
4426
* def outputpath = db.outputpath()
1
4427
* eval db.ensureDirectory(outputpath)
1
4428
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4429
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4430
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4431
Given path 'geonetwork/srv/dut/inspire'
0
4432
And param service = 'CSW'
0
4433
And param version = '2.0.2'
0
4434
And param request = 'GetRecordById'
0
4435
And param id = '7681eb19-a914-4dc7-9208-c2a131dca06d'
0
4436
And param elementsetname = 'full'
0
4437
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4438
When method get
1916
4439
Then status 200
0
4440
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7681eb19-a914-4dc7-9208-c2a131dca06d'
2
4441
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4442
* def title = get response //citation/CI_Citation/title/CharacterString
1
4443
* def email = get response //electronicMailAddress/CharacterString
0
4444
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4445
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4446
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4447
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4448
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4449
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4450
* print organisationpath
0
06:40:35.719 [print] Beheer PDOK
4451
* print operateson
0
06:40:35.719 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification" ]
4452
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4453
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4454
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.132:18]7ab53b91-9df1-4c39-ba0e-06ec80ce512b
ms: 1857
>>
Background:
4455
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4456
* def mystorage = Java.type('storage.DataStorage')
2
4457
* def db = new mystorage
17
4458
* def db = db.setfeature(karate.info.featureFileName)
8
4459
* def separator = java.lang.System.getProperty("file.separator")
1
4460
* def outputpath = db.outputpath()
1
4461
* eval db.ensureDirectory(outputpath)
1
4462
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4463
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4464
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4465
Given path 'geonetwork/srv/dut/inspire'
0
4466
And param service = 'CSW'
0
4467
And param version = '2.0.2'
0
4468
And param request = 'GetRecordById'
0
4469
And param id = '7ab53b91-9df1-4c39-ba0e-06ec80ce512b'
1
4470
And param elementsetname = 'full'
0
4471
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4472
When method get
1824
4473
Then status 200
0
4474
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7ab53b91-9df1-4c39-ba0e-06ec80ce512b'
3
4475
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4476
* def title = get response //citation/CI_Citation/title/CharacterString
0
4477
* def email = get response //electronicMailAddress/CharacterString
0
4478
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4479
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4480
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4481
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4482
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
13
4483
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4484
* print organisationpath
0
06:40:35.783 [print] Beheer PDOK
4485
* print operateson
0
06:40:35.783 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification
4486
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4487
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
10
4488
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.133:18]32b1eb9e-c54f-4598-92d2-328eb77fa0d3
ms: 1795
>>
Background:
4489
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4490
* def mystorage = Java.type('storage.DataStorage')
2
4491
* def db = new mystorage
17
4492
* def db = db.setfeature(karate.info.featureFileName)
8
4493
* def separator = java.lang.System.getProperty("file.separator")
1
4494
* def outputpath = db.outputpath()
1
4495
* eval db.ensureDirectory(outputpath)
1
4496
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4497
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4498
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4499
Given path 'geonetwork/srv/dut/inspire'
0
4500
And param service = 'CSW'
0
4501
And param version = '2.0.2'
0
4502
And param request = 'GetRecordById'
0
4503
And param id = '32b1eb9e-c54f-4598-92d2-328eb77fa0d3'
1
4504
And param elementsetname = 'full'
0
4505
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4506
When method get
1783
4507
Then status 200
0
4508
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32b1eb9e-c54f-4598-92d2-328eb77fa0d3'
1
4509
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4510
* def title = get response //citation/CI_Citation/title/CharacterString
1
4511
* def email = get response //electronicMailAddress/CharacterString
1
4512
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4513
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4514
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4515
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4516
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4517
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4518
* print organisationpath
0
06:40:35.778 [print] Beheer PDOK
4519
* print operateson
0
06:40:35.778 [print] http://nationaalgeoregister.nl/geonetwork/srv/eng/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification
4520
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4521
* eval db.writeln('"32b1eb9e-c54f-4598-92d2-328eb77fa0d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4522
* eval db.writeln('"32b1eb9e-c54f-4598-92d2-328eb77fa0d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.134:18]ce963e61-779f-470f-a99d-48d9796e5ba3
ms: 1800
>>
Background:
4523
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4524
* def mystorage = Java.type('storage.DataStorage')
2
4525
* def db = new mystorage
17
4526
* def db = db.setfeature(karate.info.featureFileName)
8
4527
* def separator = java.lang.System.getProperty("file.separator")
1
4528
* def outputpath = db.outputpath()
1
4529
* eval db.ensureDirectory(outputpath)
1
4530
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4531
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4532
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4533
Given path 'geonetwork/srv/dut/inspire'
0
4534
And param service = 'CSW'
0
4535
And param version = '2.0.2'
0
4536
And param request = 'GetRecordById'
0
4537
And param id = 'ce963e61-779f-470f-a99d-48d9796e5ba3'
1
4538
And param elementsetname = 'full'
0
4539
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4540
When method get
1785
4541
Then status 200
0
4542
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce963e61-779f-470f-a99d-48d9796e5ba3'
1
4543
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4544
* def title = get response //citation/CI_Citation/title/CharacterString
1
4545
* def email = get response //electronicMailAddress/CharacterString
0
4546
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4547
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
4548
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4549
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4550
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4551
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4552
* print organisationpath
0
06:40:35.821 [print] Beheer PDOK
4553
* print operateson
0
06:40:35.821 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification
4554
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4555
* eval db.writeln('"ce963e61-779f-470f-a99d-48d9796e5ba3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4556
* eval db.writeln('"ce963e61-779f-470f-a99d-48d9796e5ba3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.135:18]bc0b75c6-3eef-49de-aca2-8483024903c1
ms: 1992
>>
Background:
4557
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4558
* def mystorage = Java.type('storage.DataStorage')
2
4559
* def db = new mystorage
17
4560
* def db = db.setfeature(karate.info.featureFileName)
8
4561
* def separator = java.lang.System.getProperty("file.separator")
1
4562
* def outputpath = db.outputpath()
1
4563
* eval db.ensureDirectory(outputpath)
1
4564
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4565
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4566
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4567
Given path 'geonetwork/srv/dut/inspire'
0
4568
And param service = 'CSW'
0
4569
And param version = '2.0.2'
0
4570
And param request = 'GetRecordById'
0
4571
And param id = 'bc0b75c6-3eef-49de-aca2-8483024903c1'
0
4572
And param elementsetname = 'full'
0
4573
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4574
When method get
1982
4575
Then status 200
0
4576
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bc0b75c6-3eef-49de-aca2-8483024903c1'
1
4577
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4578
* def title = get response //citation/CI_Citation/title/CharacterString
1
4579
* def email = get response //electronicMailAddress/CharacterString
0
4580
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4581
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4582
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4583
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4584
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4585
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4586
* print organisationpath
0
06:40:36.131 [print] Beheer PDOK
4587
* print operateson
0
06:40:36.131 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification
4588
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4589
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4590
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.136:18]6de8b875-c4c2-4469-ac80-0782bb67f285
ms: 1747
>>
Background:
4591
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4592
* def mystorage = Java.type('storage.DataStorage')
2
4593
* def db = new mystorage
17
4594
* def db = db.setfeature(karate.info.featureFileName)
8
4595
* def separator = java.lang.System.getProperty("file.separator")
1
4596
* def outputpath = db.outputpath()
1
4597
* eval db.ensureDirectory(outputpath)
1
4598
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4599
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4600
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4601
Given path 'geonetwork/srv/dut/inspire'
0
4602
And param service = 'CSW'
0
4603
And param version = '2.0.2'
0
4604
And param request = 'GetRecordById'
0
4605
And param id = '6de8b875-c4c2-4469-ac80-0782bb67f285'
0
4606
And param elementsetname = 'full'
0
4607
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4608
When method get
1736
4609
Then status 200
0
4610
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6de8b875-c4c2-4469-ac80-0782bb67f285'
2
4611
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4612
* def title = get response //citation/CI_Citation/title/CharacterString
1
4613
* def email = get response //electronicMailAddress/CharacterString
1
4614
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4615
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4616
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4617
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4618
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4619
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4620
* print organisationpath
0
06:40:36.015 [print] Beheer PDOK
4621
* print operateson
0
06:40:36.015 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification
4622
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4623
* eval db.writeln('"6de8b875-c4c2-4469-ac80-0782bb67f285","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4624
* eval db.writeln('"6de8b875-c4c2-4469-ac80-0782bb67f285","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.137:18]127125c8-20c2-451a-a1c8-f9aad8ae5c5e
ms: 1868
>>
Background:
4625
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4626
* def mystorage = Java.type('storage.DataStorage')
2
4627
* def db = new mystorage
17
4628
* def db = db.setfeature(karate.info.featureFileName)
8
4629
* def separator = java.lang.System.getProperty("file.separator")
1
4630
* def outputpath = db.outputpath()
1
4631
* eval db.ensureDirectory(outputpath)
1
4632
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4633
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4634
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4635
Given path 'geonetwork/srv/dut/inspire'
0
4636
And param service = 'CSW'
0
4637
And param version = '2.0.2'
0
4638
And param request = 'GetRecordById'
0
4639
And param id = '127125c8-20c2-451a-a1c8-f9aad8ae5c5e'
0
4640
And param elementsetname = 'full'
0
4641
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4642
When method get
1859
4643
Then status 200
0
4644
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '127125c8-20c2-451a-a1c8-f9aad8ae5c5e'
1
4645
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4646
* def title = get response //citation/CI_Citation/title/CharacterString
0
4647
* def email = get response //electronicMailAddress/CharacterString
0
4648
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4649
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4650
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4651
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4652
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4653
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4654
* print organisationpath
0
06:40:36.181 [print] Beheer PDOK
4655
* print operateson
0
06:40:36.182 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification
4656
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4657
* eval db.writeln('"127125c8-20c2-451a-a1c8-f9aad8ae5c5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4658
* eval db.writeln('"127125c8-20c2-451a-a1c8-f9aad8ae5c5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.138:18]d7d19437-f875-45b3-86cd-2fa3335479ec
ms: 1667
>>
Background:
4659
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4660
* def mystorage = Java.type('storage.DataStorage')
2
4661
* def db = new mystorage
17
4662
* def db = db.setfeature(karate.info.featureFileName)
8
4663
* def separator = java.lang.System.getProperty("file.separator")
1
4664
* def outputpath = db.outputpath()
1
4665
* eval db.ensureDirectory(outputpath)
1
4666
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4667
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4668
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4669
Given path 'geonetwork/srv/dut/inspire'
0
4670
And param service = 'CSW'
0
4671
And param version = '2.0.2'
0
4672
And param request = 'GetRecordById'
0
4673
And param id = 'd7d19437-f875-45b3-86cd-2fa3335479ec'
1
4674
And param elementsetname = 'full'
0
4675
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4676
When method get
1657
4677
Then status 200
0
4678
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7d19437-f875-45b3-86cd-2fa3335479ec'
1
4679
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4680
* def title = get response //citation/CI_Citation/title/CharacterString
1
4681
* def email = get response //electronicMailAddress/CharacterString
1
4682
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4683
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4684
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4685
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4686
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4687
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4688
* print organisationpath
0
06:40:36.032 [print] Beheer PDOK
4689
* print operateson
0
06:40:36.032 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification
4690
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4691
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4692
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.139:18]1ce74355-763a-481d-b9d7-aaafbf0d7d53
ms: 1948
>>
Background:
4693
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4694
* def mystorage = Java.type('storage.DataStorage')
2
4695
* def db = new mystorage
17
4696
* def db = db.setfeature(karate.info.featureFileName)
8
4697
* def separator = java.lang.System.getProperty("file.separator")
1
4698
* def outputpath = db.outputpath()
1
4699
* eval db.ensureDirectory(outputpath)
1
4700
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4701
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4702
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4703
Given path 'geonetwork/srv/dut/inspire'
0
4704
And param service = 'CSW'
0
4705
And param version = '2.0.2'
0
4706
And param request = 'GetRecordById'
0
4707
And param id = '1ce74355-763a-481d-b9d7-aaafbf0d7d53'
1
4708
And param elementsetname = 'full'
0
4709
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4710
When method get
1932
4711
Then status 200
0
4712
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ce74355-763a-481d-b9d7-aaafbf0d7d53'
1
4713
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4714
* def title = get response //citation/CI_Citation/title/CharacterString
2
4715
* def email = get response //electronicMailAddress/CharacterString
1
4716
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4717
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4718
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4719
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4720
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4721
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4722
* print organisationpath
0
06:40:36.370 [print] Beheer PDOK
4723
* print operateson
0
06:40:36.370 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification
4724
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4725
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4726
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.140:18]ea4cb6a2-f637-413a-91cc-d58473c2f138
ms: 1929
>>
Background:
4727
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4728
* def mystorage = Java.type('storage.DataStorage')
2
4729
* def db = new mystorage
17
4730
* def db = db.setfeature(karate.info.featureFileName)
8
4731
* def separator = java.lang.System.getProperty("file.separator")
1
4732
* def outputpath = db.outputpath()
1
4733
* eval db.ensureDirectory(outputpath)
1
4734
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4735
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4736
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4737
Given path 'geonetwork/srv/dut/inspire'
0
4738
And param service = 'CSW'
0
4739
And param version = '2.0.2'
0
4740
And param request = 'GetRecordById'
0
4741
And param id = 'ea4cb6a2-f637-413a-91cc-d58473c2f138'
0
4742
And param elementsetname = 'full'
0
4743
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4744
When method get
1920
4745
Then status 200
0
4746
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ea4cb6a2-f637-413a-91cc-d58473c2f138'
1
4747
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4748
* def title = get response //citation/CI_Citation/title/CharacterString
0
4749
* def email = get response //electronicMailAddress/CharacterString
0
4750
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4751
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4752
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4753
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4754
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4755
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4756
* print organisationpath
0
06:40:36.394 [print] Interprovinciaal Overleg
4757
* print operateson
0
06:40:36.394 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
4758
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4759
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4760
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.141:18]58353cdf-b3a1-454e-9284-932a7e815e57
ms: 1851
>>
Background:
4761
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4762
* def mystorage = Java.type('storage.DataStorage')
2
4763
* def db = new mystorage
17
4764
* def db = db.setfeature(karate.info.featureFileName)
8
4765
* def separator = java.lang.System.getProperty("file.separator")
1
4766
* def outputpath = db.outputpath()
1
4767
* eval db.ensureDirectory(outputpath)
1
4768
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4769
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4770
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4771
Given path 'geonetwork/srv/dut/inspire'
0
4772
And param service = 'CSW'
0
4773
And param version = '2.0.2'
0
4774
And param request = 'GetRecordById'
0
4775
And param id = '58353cdf-b3a1-454e-9284-932a7e815e57'
0
4776
And param elementsetname = 'full'
0
4777
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4778
When method get
1839
4779
Then status 200
0
4780
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '58353cdf-b3a1-454e-9284-932a7e815e57'
1
4781
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4782
* def title = get response //citation/CI_Citation/title/CharacterString
1
4783
* def email = get response //electronicMailAddress/CharacterString
0
4784
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4785
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4786
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4787
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4788
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4789
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4790
* print organisationpath
2
06:40:36.356 [print] Beheer PDOK
4791
* print operateson
0
06:40:36.356 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification
4792
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4793
* eval db.writeln('"58353cdf-b3a1-454e-9284-932a7e815e57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4794
* eval db.writeln('"58353cdf-b3a1-454e-9284-932a7e815e57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.142:18]315a465b-e95d-46ea-9d97-8bbee81844cc
ms: 2005
>>
Background:
4795
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4796
* def mystorage = Java.type('storage.DataStorage')
2
4797
* def db = new mystorage
17
4798
* def db = db.setfeature(karate.info.featureFileName)
8
4799
* def separator = java.lang.System.getProperty("file.separator")
1
4800
* def outputpath = db.outputpath()
1
4801
* eval db.ensureDirectory(outputpath)
1
4802
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4803
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4804
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4805
Given path 'geonetwork/srv/dut/inspire'
0
4806
And param service = 'CSW'
0
4807
And param version = '2.0.2'
0
4808
And param request = 'GetRecordById'
0
4809
And param id = '315a465b-e95d-46ea-9d97-8bbee81844cc'
0
4810
And param elementsetname = 'full'
0
4811
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4812
When method get
1960
4813
Then status 200
0
4814
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '315a465b-e95d-46ea-9d97-8bbee81844cc'
1
4815
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4816
* def title = get response //citation/CI_Citation/title/CharacterString
0
4817
* def email = get response //electronicMailAddress/CharacterString
0
4818
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4819
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4820
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4821
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4822
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4823
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4824
* print organisationpath
0
06:40:36.489 [print] Beheer PDOK
4825
* print operateson
0
06:40:36.489 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=14657c9b-91e4-4355-8563-2911ad0e78e4#MD_DataIdentification
4826
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
20
4827
* eval db.writeln('"315a465b-e95d-46ea-9d97-8bbee81844cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
12
4828
* eval db.writeln('"315a465b-e95d-46ea-9d97-8bbee81844cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.143:18]bf56537a-dce6-11e3-82c1-901b0e19e163
ms: 2099
>>
Background:
4829
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4830
* def mystorage = Java.type('storage.DataStorage')
2
4831
* def db = new mystorage
17
4832
* def db = db.setfeature(karate.info.featureFileName)
8
4833
* def separator = java.lang.System.getProperty("file.separator")
1
4834
* def outputpath = db.outputpath()
1
4835
* eval db.ensureDirectory(outputpath)
1
4836
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4837
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4838
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4839
Given path 'geonetwork/srv/dut/inspire'
0
4840
And param service = 'CSW'
0
4841
And param version = '2.0.2'
0
4842
And param request = 'GetRecordById'
0
4843
And param id = 'bf56537a-dce6-11e3-82c1-901b0e19e163'
0
4844
And param elementsetname = 'full'
0
4845
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4846
When method get
2086
4847
Then status 200
0
4848
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bf56537a-dce6-11e3-82c1-901b0e19e163'
1
4849
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4850
* def title = get response //citation/CI_Citation/title/CharacterString
0
4851
* def email = get response //electronicMailAddress/CharacterString
0
4852
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4853
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4854
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4855
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4856
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4857
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4858
* print organisationpath
0
06:40:36.701 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4859
* print operateson
0
06:40:36.701 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=daa63e4c-dce6-11e3-991e-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
4860
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4861
* eval db.writeln('"bf56537a-dce6-11e3-82c1-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4862
* eval db.writeln('"bf56537a-dce6-11e3-82c1-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.144:18]702060c1-b3fd-44ec-8cc6-d4249d150110
ms: 1844
>>
Background:
4863
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4864
* def mystorage = Java.type('storage.DataStorage')
2
4865
* def db = new mystorage
17
4866
* def db = db.setfeature(karate.info.featureFileName)
8
4867
* def separator = java.lang.System.getProperty("file.separator")
1
4868
* def outputpath = db.outputpath()
1
4869
* eval db.ensureDirectory(outputpath)
1
4870
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4871
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4872
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4873
Given path 'geonetwork/srv/dut/inspire'
1
4874
And param service = 'CSW'
0
4875
And param version = '2.0.2'
0
4876
And param request = 'GetRecordById'
0
4877
And param id = '702060c1-b3fd-44ec-8cc6-d4249d150110'
1
4878
And param elementsetname = 'full'
0
4879
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4880
When method get
1824
4881
Then status 200
0
4882
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '702060c1-b3fd-44ec-8cc6-d4249d150110'
9
4883
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4884
* def title = get response //citation/CI_Citation/title/CharacterString
0
4885
* def email = get response //electronicMailAddress/CharacterString
0
4886
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4887
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4888
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4889
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4890
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4891
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4892
* print organisationpath
0
06:40:36.551 [print] Interprovinciaal Overleg
4893
* print operateson
0
06:40:36.551 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
4894
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4895
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4896
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.145:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b3
ms: 1914
>>
Background:
4897
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4898
* def mystorage = Java.type('storage.DataStorage')
2
4899
* def db = new mystorage
17
4900
* def db = db.setfeature(karate.info.featureFileName)
8
4901
* def separator = java.lang.System.getProperty("file.separator")
1
4902
* def outputpath = db.outputpath()
1
4903
* eval db.ensureDirectory(outputpath)
1
4904
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4905
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4906
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4907
Given path 'geonetwork/srv/dut/inspire'
1
4908
And param service = 'CSW'
0
4909
And param version = '2.0.2'
0
4910
And param request = 'GetRecordById'
0
4911
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3'
0
4912
And param elementsetname = 'full'
0
4913
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4914
When method get
1904
4915
Then status 200
0
4916
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3'
1
4917
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4918
* def title = get response //citation/CI_Citation/title/CharacterString
1
4919
* def email = get response //electronicMailAddress/CharacterString
0
4920
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4921
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4922
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4923
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4924
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4925
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4926
* print organisationpath
0
06:40:36.670 [print] Rijkswaterstaat
4927
* print operateson
0
06:40:36.670 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f5#MD_DataIdentification
4928
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4929
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4930
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.146:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b4
ms: 1924
>>
Background:
4931
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4932
* def mystorage = Java.type('storage.DataStorage')
2
4933
* def db = new mystorage
17
4934
* def db = db.setfeature(karate.info.featureFileName)
8
4935
* def separator = java.lang.System.getProperty("file.separator")
1
4936
* def outputpath = db.outputpath()
1
4937
* eval db.ensureDirectory(outputpath)
1
4938
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4939
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4940
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4941
Given path 'geonetwork/srv/dut/inspire'
0
4942
And param service = 'CSW'
0
4943
And param version = '2.0.2'
0
4944
And param request = 'GetRecordById'
1
4945
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4'
0
4946
And param elementsetname = 'full'
0
4947
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4948
When method get
1914
4949
Then status 200
0
4950
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
4951
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4952
* def title = get response //citation/CI_Citation/title/CharacterString
0
4953
* def email = get response //electronicMailAddress/CharacterString
0
4954
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4955
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4956
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4957
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4958
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4959
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4960
* print organisationpath
0
06:40:36.742 [print] Rijkswaterstaat
4961
* print operateson
0
06:40:36.742 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&ID=adn73c4a-ef03-4785-b7f6-942e86b385f7&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4962
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4963
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4964
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.147:18]wt-83730-e750-485a-9c0c-39bf9bf72cf8
ms: 1802
>>
Background:
4965
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
4966
* def mystorage = Java.type('storage.DataStorage')
2
4967
* def db = new mystorage
17
4968
* def db = db.setfeature(karate.info.featureFileName)
8
4969
* def separator = java.lang.System.getProperty("file.separator")
1
4970
* def outputpath = db.outputpath()
1
4971
* eval db.ensureDirectory(outputpath)
1
4972
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4973
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4974
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4975
Given path 'geonetwork/srv/dut/inspire'
0
4976
And param service = 'CSW'
0
4977
And param version = '2.0.2'
0
4978
And param request = 'GetRecordById'
0
4979
And param id = 'wt-83730-e750-485a-9c0c-39bf9bf72cf8'
1
4980
And param elementsetname = 'full'
0
4981
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4982
When method get
1792
4983
Then status 200
0
4984
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bf72cf8'
1
4985
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4986
* def title = get response //citation/CI_Citation/title/CharacterString
0
4987
* def email = get response //electronicMailAddress/CharacterString
0
4988
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4989
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4990
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4991
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4992
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4993
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4994
* print organisationpath
0
06:40:36.775 [print] Rijkswaterstaat
4995
* print operateson
0
06:40:36.776 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4996
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4997
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bf72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4998
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bf72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.148:18]wt-3730-e750-485a-9c0c-39bf9bf72cf9
ms: 1838
>>
Background:
4999
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5000
* def mystorage = Java.type('storage.DataStorage')
2
5001
* def db = new mystorage
17
5002
* def db = db.setfeature(karate.info.featureFileName)
8
5003
* def separator = java.lang.System.getProperty("file.separator")
1
5004
* def outputpath = db.outputpath()
1
5005
* eval db.ensureDirectory(outputpath)
1
5006
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5007
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5008
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5009
Given path 'geonetwork/srv/dut/inspire'
0
5010
And param service = 'CSW'
0
5011
And param version = '2.0.2'
0
5012
And param request = 'GetRecordById'
0
5013
And param id = 'wt-3730-e750-485a-9c0c-39bf9bf72cf9'
0
5014
And param elementsetname = 'full'
0
5015
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5016
When method get
1829
5017
Then status 200
0
5018
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bf72cf9'
1
5019
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5020
* def title = get response //citation/CI_Citation/title/CharacterString
0
5021
* def email = get response //electronicMailAddress/CharacterString
0
5022
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5023
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5024
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5025
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5026
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5027
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5028
* print organisationpath
0
06:40:36.847 [print] Rijkswaterstaat
5029
* print operateson
0
06:40:36.847 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
5030
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5031
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bf72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5032
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bf72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.149:18]wt-83730-e750-485a-9c0c-39bf9bm72cf8
ms: 1877
>>
Background:
5033
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5034
* def mystorage = Java.type('storage.DataStorage')
2
5035
* def db = new mystorage
17
5036
* def db = db.setfeature(karate.info.featureFileName)
8
5037
* def separator = java.lang.System.getProperty("file.separator")
1
5038
* def outputpath = db.outputpath()
1
5039
* eval db.ensureDirectory(outputpath)
1
5040
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5041
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5042
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5043
Given path 'geonetwork/srv/dut/inspire'
0
5044
And param service = 'CSW'
0
5045
And param version = '2.0.2'
0
5046
And param request = 'GetRecordById'
0
5047
And param id = 'wt-83730-e750-485a-9c0c-39bf9bm72cf8'
0
5048
And param elementsetname = 'full'
0
5049
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5050
When method get
1867
5051
Then status 200
0
5052
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bm72cf8'
1
5053
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5054
* def title = get response //citation/CI_Citation/title/CharacterString
0
5055
* def email = get response //electronicMailAddress/CharacterString
0
5056
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5057
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5058
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5059
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5060
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5061
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5062
* print organisationpath
0
06:40:36.920 [print] Rijkswaterstaat
5063
* print operateson
0
06:40:36.920 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification
5064
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5065
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bm72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5066
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bm72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.150:18]wt-f5eb-b09f-4f6d-8397-8878a1m86238
ms: 1874
>>
Background:
5067
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5068
* def mystorage = Java.type('storage.DataStorage')
2
5069
* def db = new mystorage
17
5070
* def db = db.setfeature(karate.info.featureFileName)
8
5071
* def separator = java.lang.System.getProperty("file.separator")
1
5072
* def outputpath = db.outputpath()
1
5073
* eval db.ensureDirectory(outputpath)
1
5074
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5075
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5076
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5077
Given path 'geonetwork/srv/dut/inspire'
0
5078
And param service = 'CSW'
0
5079
And param version = '2.0.2'
0
5080
And param request = 'GetRecordById'
0
5081
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1m86238'
0
5082
And param elementsetname = 'full'
0
5083
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5084
When method get
1866
5085
Then status 200
0
5086
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1m86238'
1
5087
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5088
* def title = get response //citation/CI_Citation/title/CharacterString
0
5089
* def email = get response //electronicMailAddress/CharacterString
0
5090
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5091
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5092
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5093
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5094
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5095
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5096
* print organisationpath
0
06:40:37.009 [print] Rijkswaterstaat
5097
* print operateson
0
06:40:37.009 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
5098
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5099
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1m86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5100
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1m86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.151:18]wt-f297898-2640-44c2-bbe9-c0480dm83794
ms: 1994
>>
Background:
5101
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5102
* def mystorage = Java.type('storage.DataStorage')
2
5103
* def db = new mystorage
17
5104
* def db = db.setfeature(karate.info.featureFileName)
8
5105
* def separator = java.lang.System.getProperty("file.separator")
1
5106
* def outputpath = db.outputpath()
1
5107
* eval db.ensureDirectory(outputpath)
1
5108
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5109
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5110
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5111
Given path 'geonetwork/srv/dut/inspire'
1
5112
And param service = 'CSW'
0
5113
And param version = '2.0.2'
0
5114
And param request = 'GetRecordById'
0
5115
And param id = 'wt-f297898-2640-44c2-bbe9-c0480dm83794'
0
5116
And param elementsetname = 'full'
0
5117
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5118
When method get
1982
5119
Then status 200
0
5120
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480dm83794'
1
5121
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5122
* def title = get response //citation/CI_Citation/title/CharacterString
0
5123
* def email = get response //electronicMailAddress/CharacterString
0
5124
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5125
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5126
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5127
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5128
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5129
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5130
* print organisationpath
0
06:40:37.173 [print] Rijkswaterstaat
5131
* print operateson
0
06:40:37.173 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
5132
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5133
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dm83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
5134
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dm83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.152:18]tbjk534p-wubf-crbp-cj25-d41611m0gfim
ms: 1779
>>
Background:
5135
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5136
* def mystorage = Java.type('storage.DataStorage')
2
5137
* def db = new mystorage
17
5138
* def db = db.setfeature(karate.info.featureFileName)
8
5139
* def separator = java.lang.System.getProperty("file.separator")
1
5140
* def outputpath = db.outputpath()
1
5141
* eval db.ensureDirectory(outputpath)
1
5142
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5143
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5144
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5145
Given path 'geonetwork/srv/dut/inspire'
0
5146
And param service = 'CSW'
0
5147
And param version = '2.0.2'
0
5148
And param request = 'GetRecordById'
0
5149
And param id = 'tbjk534p-wubf-crbp-cj25-d41611m0gfim'
1
5150
And param elementsetname = 'full'
0
5151
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5152
When method get
1766
5153
Then status 200
0
5154
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611m0gfim'
2
5155
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5156
* def title = get response //citation/CI_Citation/title/CharacterString
1
5157
* def email = get response //electronicMailAddress/CharacterString
1
5158
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5159
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5160
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5161
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5162
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5163
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5164
* print organisationpath
0
06:40:37.182 [print] Rijkswaterstaat
5165
* print operateson
0
06:40:37.182 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=tbjk534p-wubf-crbp-cj25-d4161160gfim&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5166
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5167
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5168
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.153:18]tn-2c7040b-c448-451b-bf15-f2416emaadd1
ms: 1801
>>
Background:
5169
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5170
* def mystorage = Java.type('storage.DataStorage')
2
5171
* def db = new mystorage
17
5172
* def db = db.setfeature(karate.info.featureFileName)
8
5173
* def separator = java.lang.System.getProperty("file.separator")
1
5174
* def outputpath = db.outputpath()
1
5175
* eval db.ensureDirectory(outputpath)
1
5176
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5177
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5178
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5179
Given path 'geonetwork/srv/dut/inspire'
1
5180
And param service = 'CSW'
0
5181
And param version = '2.0.2'
0
5182
And param request = 'GetRecordById'
0
5183
And param id = 'tn-2c7040b-c448-451b-bf15-f2416emaadd1'
1
5184
And param elementsetname = 'full'
0
5185
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5186
When method get
1790
5187
Then status 200
0
5188
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416emaadd1'
1
5189
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5190
* def title = get response //citation/CI_Citation/title/CharacterString
1
5191
* def email = get response //electronicMailAddress/CharacterString
1
5192
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5193
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5194
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5195
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5196
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5197
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5198
* print organisationpath
0
06:40:37.212 [print] Rijkswaterstaat
5199
* print operateson
0
06:40:37.212 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
5200
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5201
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416emaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5202
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416emaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.154:18]cf69ec50-9849-4afd-853c-ee5621fd336d
ms: 1563
>>
Background:
5203
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5204
* def mystorage = Java.type('storage.DataStorage')
2
5205
* def db = new mystorage
17
5206
* def db = db.setfeature(karate.info.featureFileName)
8
5207
* def separator = java.lang.System.getProperty("file.separator")
1
5208
* def outputpath = db.outputpath()
1
5209
* eval db.ensureDirectory(outputpath)
1
5210
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5211
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5212
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5213
Given path 'geonetwork/srv/dut/inspire'
0
5214
And param service = 'CSW'
0
5215
And param version = '2.0.2'
0
5216
And param request = 'GetRecordById'
0
5217
And param id = 'cf69ec50-9849-4afd-853c-ee5621fd336d'
0
5218
And param elementsetname = 'full'
0
5219
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5220
When method get
1553
5221
Then status 200
0
5222
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee5621fd336d'
1
5223
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5224
* def title = get response //citation/CI_Citation/title/CharacterString
0
5225
* def email = get response //electronicMailAddress/CharacterString
1
5226
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5227
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5228
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5229
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5230
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5231
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5232
* print organisationpath
0
06:40:37.283 [print] Rijkswaterstaat
5233
* print operateson
0
06:40:37.283 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=cf69ec50-9849-4afd-853c-ee56211d336d&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5234
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5235
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5236
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.155:18]68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2
ms: 1692
>>
Background:
5237
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5238
* def mystorage = Java.type('storage.DataStorage')
2
5239
* def db = new mystorage
17
5240
* def db = db.setfeature(karate.info.featureFileName)
8
5241
* def separator = java.lang.System.getProperty("file.separator")
1
5242
* def outputpath = db.outputpath()
1
5243
* eval db.ensureDirectory(outputpath)
1
5244
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5245
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5246
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5247
Given path 'geonetwork/srv/dut/inspire'
0
5248
And param service = 'CSW'
0
5249
And param version = '2.0.2'
0
5250
And param request = 'GetRecordById'
0
5251
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2'
10
5252
And param elementsetname = 'full'
5
5253
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5254
When method get
1669
5255
Then status 200
0
5256
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2'
1
5257
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5258
* def title = get response //citation/CI_Citation/title/CharacterString
0
5259
* def email = get response //electronicMailAddress/CharacterString
0
5260
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5261
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5262
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5263
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5264
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5265
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5266
* print organisationpath
0
06:40:37.471 [print] Rijkswaterstaat
5267
* print operateson
0
06:40:37.471 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5268
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5269
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5270
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.156:18]cf69ec50-9849-4afd-853c-ee5621md336d
ms: 1577
>>
Background:
5271
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5272
* def mystorage = Java.type('storage.DataStorage')
2
5273
* def db = new mystorage
17
5274
* def db = db.setfeature(karate.info.featureFileName)
8
5275
* def separator = java.lang.System.getProperty("file.separator")
1
5276
* def outputpath = db.outputpath()
1
5277
* eval db.ensureDirectory(outputpath)
1
5278
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5279
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5280
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5281
Given path 'geonetwork/srv/dut/inspire'
0
5282
And param service = 'CSW'
0
5283
And param version = '2.0.2'
0
5284
And param request = 'GetRecordById'
0
5285
And param id = 'cf69ec50-9849-4afd-853c-ee5621md336d'
0
5286
And param elementsetname = 'full'
0
5287
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5288
When method get
1569
5289
Then status 200
0
5290
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee5621md336d'
1
5291
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5292
* def title = get response //citation/CI_Citation/title/CharacterString
0
5293
* def email = get response //electronicMailAddress/CharacterString
0
5294
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5295
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5296
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5297
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5298
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5299
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5300
* print organisationpath
0
06:40:37.371 [print] Rijkswaterstaat
5301
* print operateson
0
06:40:37.371 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=cf69ec50-9849-4afd-853c-ee56211d336d&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5302
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5303
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5304
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.157:18]5bb85b77-fffd-449b-bd61-f076fe07cc4b
ms: 1766
>>
Background:
5305
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5306
* def mystorage = Java.type('storage.DataStorage')
2
5307
* def db = new mystorage
17
5308
* def db = db.setfeature(karate.info.featureFileName)
8
5309
* def separator = java.lang.System.getProperty("file.separator")
1
5310
* def outputpath = db.outputpath()
1
5311
* eval db.ensureDirectory(outputpath)
1
5312
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5313
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5314
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5315
Given path 'geonetwork/srv/dut/inspire'
0
5316
And param service = 'CSW'
0
5317
And param version = '2.0.2'
0
5318
And param request = 'GetRecordById'
0
5319
And param id = '5bb85b77-fffd-449b-bd61-f076fe07cc4b'
0
5320
And param elementsetname = 'full'
0
5321
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5322
When method get
1757
5323
Then status 200
0
5324
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5bb85b77-fffd-449b-bd61-f076fe07cc4b'
1
5325
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5326
* def title = get response //citation/CI_Citation/title/CharacterString
0
5327
* def email = get response //electronicMailAddress/CharacterString
0
5328
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5329
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5330
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5331
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5332
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5333
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5334
* print organisationpath
0
06:40:37.587 [print] Beheer PDOK
5335
* print operateson
0
06:40:37.587 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification
5336
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5337
* eval db.writeln('"5bb85b77-fffd-449b-bd61-f076fe07cc4b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5338
* eval db.writeln('"5bb85b77-fffd-449b-bd61-f076fe07cc4b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.158:18]23aa5150-fcc7-46ea-ae63-a7f198d8bc18
ms: 1656
>>
Background:
5339
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5340
* def mystorage = Java.type('storage.DataStorage')
2
5341
* def db = new mystorage
17
5342
* def db = db.setfeature(karate.info.featureFileName)
8
5343
* def separator = java.lang.System.getProperty("file.separator")
1
5344
* def outputpath = db.outputpath()
1
5345
* eval db.ensureDirectory(outputpath)
1
5346
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5347
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5348
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5349
Given path 'geonetwork/srv/dut/inspire'
1
5350
And param service = 'CSW'
0
5351
And param version = '2.0.2'
0
5352
And param request = 'GetRecordById'
0
5353
And param id = '23aa5150-fcc7-46ea-ae63-a7f198d8bc18'
0
5354
And param elementsetname = 'full'
0
5355
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5356
When method get
1645
5357
Then status 200
0
5358
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '23aa5150-fcc7-46ea-ae63-a7f198d8bc18'
1
5359
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5360
* def title = get response //citation/CI_Citation/title/CharacterString
0
5361
* def email = get response //electronicMailAddress/CharacterString
0
5362
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5363
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5364
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5365
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5366
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5367
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5368
* print organisationpath
0
06:40:37.606 [print]
5369
* print operateson
0
06:40:37.606 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification
5370
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5371
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5372
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.159:18]1d568785-efdd-429d-b491-56f785c3656a
ms: 1679
>>
Background:
5373
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5374
* def mystorage = Java.type('storage.DataStorage')
2
5375
* def db = new mystorage
17
5376
* def db = db.setfeature(karate.info.featureFileName)
8
5377
* def separator = java.lang.System.getProperty("file.separator")
1
5378
* def outputpath = db.outputpath()
1
5379
* eval db.ensureDirectory(outputpath)
1
5380
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5381
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5382
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5383
Given path 'geonetwork/srv/dut/inspire'
0
5384
And param service = 'CSW'
0
5385
And param version = '2.0.2'
0
5386
And param request = 'GetRecordById'
0
5387
And param id = '1d568785-efdd-429d-b491-56f785c3656a'
0
5388
And param elementsetname = 'full'
0
5389
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5390
When method get
1670
5391
Then status 200
0
5392
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1d568785-efdd-429d-b491-56f785c3656a'
1
5393
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5394
* def title = get response //citation/CI_Citation/title/CharacterString
0
5395
* def email = get response //electronicMailAddress/CharacterString
0
5396
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5397
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5398
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5399
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5400
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5401
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5402
* print organisationpath
0
06:40:37.694 [print] Beheer PDOK
5403
* print operateson
0
06:40:37.694 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification
5404
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5405
* eval db.writeln('"1d568785-efdd-429d-b491-56f785c3656a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5406
* eval db.writeln('"1d568785-efdd-429d-b491-56f785c3656a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.160:18]d981070b-888c-42d5-85ff-1e383f3d7fce
ms: 1709
>>
Background:
5407
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5408
* def mystorage = Java.type('storage.DataStorage')
2
5409
* def db = new mystorage
17
5410
* def db = db.setfeature(karate.info.featureFileName)
8
5411
* def separator = java.lang.System.getProperty("file.separator")
1
5412
* def outputpath = db.outputpath()
1
5413
* eval db.ensureDirectory(outputpath)
1
5414
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5415
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5416
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5417
Given path 'geonetwork/srv/dut/inspire'
0
5418
And param service = 'CSW'
0
5419
And param version = '2.0.2'
0
5420
And param request = 'GetRecordById'
0
5421
And param id = 'd981070b-888c-42d5-85ff-1e383f3d7fce'
0
5422
And param elementsetname = 'full'
0
5423
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5424
When method get
1698
5425
Then status 200
0
5426
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd981070b-888c-42d5-85ff-1e383f3d7fce'
1
5427
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5428
* def title = get response //citation/CI_Citation/title/CharacterString
1
5429
* def email = get response //electronicMailAddress/CharacterString
0
5430
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5431
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5432
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5433
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5434
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5435
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5436
* print organisationpath
0
06:40:37.741 [print] Beheer PDOK
5437
* print operateson
0
06:40:37.741 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification
5438
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5439
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5440
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.161:18]b4ae5b2c-f557-4a30-bbf2-c2681a544f32
ms: 1685
>>
Background:
5441
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5442
* def mystorage = Java.type('storage.DataStorage')
2
5443
* def db = new mystorage
17
5444
* def db = db.setfeature(karate.info.featureFileName)
8
5445
* def separator = java.lang.System.getProperty("file.separator")
1
5446
* def outputpath = db.outputpath()
1
5447
* eval db.ensureDirectory(outputpath)
1
5448
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5449
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5450
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5451
Given path 'geonetwork/srv/dut/inspire'
1
5452
And param service = 'CSW'
0
5453
And param version = '2.0.2'
0
5454
And param request = 'GetRecordById'
0
5455
And param id = 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32'
0
5456
And param elementsetname = 'full'
0
5457
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5458
When method get
1676
5459
Then status 200
0
5460
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32'
1
5461
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5462
* def title = get response //citation/CI_Citation/title/CharacterString
0
5463
* def email = get response //electronicMailAddress/CharacterString
0
5464
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5465
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5466
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5467
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5468
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5469
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5470
* print organisationpath
0
06:40:37.818 [print] Beheer PDOK
5471
* print operateson
0
06:40:37.818 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification
5472
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5473
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5474
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.162:18]e69bb2e9-eff4-4fb3-86a6-057cf628e761
ms: 1925
>>
Background:
5475
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5476
* def mystorage = Java.type('storage.DataStorage')
2
5477
* def db = new mystorage
17
5478
* def db = db.setfeature(karate.info.featureFileName)
8
5479
* def separator = java.lang.System.getProperty("file.separator")
1
5480
* def outputpath = db.outputpath()
1
5481
* eval db.ensureDirectory(outputpath)
1
5482
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5483
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5484
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5485
Given path 'geonetwork/srv/dut/inspire'
0
5486
And param service = 'CSW'
0
5487
And param version = '2.0.2'
0
5488
And param request = 'GetRecordById'
0
5489
And param id = 'e69bb2e9-eff4-4fb3-86a6-057cf628e761'
0
5490
And param elementsetname = 'full'
0
5491
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5492
When method get
1847
5493
Then status 200
0
5494
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e69bb2e9-eff4-4fb3-86a6-057cf628e761'
5
5495
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
5
5496
* def title = get response //citation/CI_Citation/title/CharacterString
5
5497
* def email = get response //electronicMailAddress/CharacterString
5
5498
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
5
5499
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
3
5500
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
3
5501
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
3
5502
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
3
5503
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
19
5504
* print organisationpath
0
06:40:38.092 [print] Beheer PDOK
5505
* print operateson
0
06:40:38.092 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification
5506
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
6
5507
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
11
5508
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.163:18]609d0c9e-173f-4f90-b020-c91ab3a0b6ef
ms: 1549
>>
Background:
5509
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5510
* def mystorage = Java.type('storage.DataStorage')
2
5511
* def db = new mystorage
17
5512
* def db = db.setfeature(karate.info.featureFileName)
8
5513
* def separator = java.lang.System.getProperty("file.separator")
1
5514
* def outputpath = db.outputpath()
1
5515
* eval db.ensureDirectory(outputpath)
1
5516
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5517
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5518
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5519
Given path 'geonetwork/srv/dut/inspire'
1
5520
And param service = 'CSW'
0
5521
And param version = '2.0.2'
0
5522
And param request = 'GetRecordById'
0
5523
And param id = '609d0c9e-173f-4f90-b020-c91ab3a0b6ef'
0
5524
And param elementsetname = 'full'
0
5525
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5526
When method get
1541
5527
Then status 200
0
5528
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '609d0c9e-173f-4f90-b020-c91ab3a0b6ef'
1
5529
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5530
* def title = get response //citation/CI_Citation/title/CharacterString
1
5531
* def email = get response //electronicMailAddress/CharacterString
0
5532
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5533
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5534
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5535
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5536
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5537
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5538
* print organisationpath
0
06:40:37.907 [print] Beheer PDOK
5539
* print operateson
0
06:40:37.907 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification
5540
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5541
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5542
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.164:18]dd49e02c-ea87-4ffc-89dd-f888608d95b7
ms: 1481
>>
Background:
5543
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5544
* def mystorage = Java.type('storage.DataStorage')
2
5545
* def db = new mystorage
17
5546
* def db = db.setfeature(karate.info.featureFileName)
8
5547
* def separator = java.lang.System.getProperty("file.separator")
1
5548
* def outputpath = db.outputpath()
1
5549
* eval db.ensureDirectory(outputpath)
1
5550
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5551
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5552
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5553
Given path 'geonetwork/srv/dut/inspire'
0
5554
And param service = 'CSW'
0
5555
And param version = '2.0.2'
0
5556
And param request = 'GetRecordById'
0
5557
And param id = 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
0
5558
And param elementsetname = 'full'
0
5559
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5560
When method get
1472
5561
Then status 200
0
5562
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
1
5563
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5564
* def title = get response //citation/CI_Citation/title/CharacterString
0
5565
* def email = get response //electronicMailAddress/CharacterString
0
5566
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5567
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5568
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5569
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5570
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5571
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5572
* print organisationpath
0
06:40:37.852 [print] Beheer PDOK
5573
* print operateson
0
06:40:37.852 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
5574
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5575
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5576
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.165:18]2dd6c9df-bb47-40eb-af39-2d17f09b9bb9
ms: 1717
>>
Background:
5577
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5578
* def mystorage = Java.type('storage.DataStorage')
2
5579
* def db = new mystorage
17
5580
* def db = db.setfeature(karate.info.featureFileName)
8
5581
* def separator = java.lang.System.getProperty("file.separator")
1
5582
* def outputpath = db.outputpath()
1
5583
* eval db.ensureDirectory(outputpath)
1
5584
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5585
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5586
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5587
Given path 'geonetwork/srv/dut/inspire'
0
5588
And param service = 'CSW'
0
5589
And param version = '2.0.2'
0
5590
And param request = 'GetRecordById'
0
5591
And param id = '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9'
0
5592
And param elementsetname = 'full'
0
5593
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5594
When method get
1686
5595
Then status 200
0
5596
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9'
1
5597
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5598
* def title = get response //citation/CI_Citation/title/CharacterString
0
5599
* def email = get response //electronicMailAddress/CharacterString
0
5600
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5601
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5602
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5603
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5604
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5605
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5606
* print organisationpath
0
06:40:38.089 [print] TNO Geologische Dienst Nederland
5607
* print operateson
0
06:40:38.089 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5608
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5609
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
23
5610
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.166:18]65f9628b-0a58-4348-8fff-c2d02788acdb
ms: 1912
>>
Background:
5611
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5612
* def mystorage = Java.type('storage.DataStorage')
2
5613
* def db = new mystorage
17
5614
* def db = db.setfeature(karate.info.featureFileName)
8
5615
* def separator = java.lang.System.getProperty("file.separator")
1
5616
* def outputpath = db.outputpath()
1
5617
* eval db.ensureDirectory(outputpath)
1
5618
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5619
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5620
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5621
Given path 'geonetwork/srv/dut/inspire'
0
5622
And param service = 'CSW'
0
5623
And param version = '2.0.2'
0
5624
And param request = 'GetRecordById'
0
5625
And param id = '65f9628b-0a58-4348-8fff-c2d02788acdb'
0
5626
And param elementsetname = 'full'
0
5627
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5628
When method get
1901
5629
Then status 200
0
5630
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '65f9628b-0a58-4348-8fff-c2d02788acdb'
2
5631
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5632
* def title = get response //citation/CI_Citation/title/CharacterString
0
5633
* def email = get response //electronicMailAddress/CharacterString
0
5634
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5635
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5636
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5637
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5638
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5639
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5640
* print organisationpath
0
06:40:38.436 [print] Beheer PDOK
5641
* print operateson
0
06:40:38.437 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification
5642
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5643
* eval db.writeln('"65f9628b-0a58-4348-8fff-c2d02788acdb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5644
* eval db.writeln('"65f9628b-0a58-4348-8fff-c2d02788acdb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.167:18]f1e26638-3b45-4dd5-9ad0-f7d3654700f1
ms: 1898
>>
Background:
5645
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5646
* def mystorage = Java.type('storage.DataStorage')
2
5647
* def db = new mystorage
17
5648
* def db = db.setfeature(karate.info.featureFileName)
8
5649
* def separator = java.lang.System.getProperty("file.separator")
1
5650
* def outputpath = db.outputpath()
1
5651
* eval db.ensureDirectory(outputpath)
1
5652
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5653
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5654
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5655
Given path 'geonetwork/srv/dut/inspire'
0
5656
And param service = 'CSW'
0
5657
And param version = '2.0.2'
0
5658
And param request = 'GetRecordById'
0
5659
And param id = 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1'
1
5660
And param elementsetname = 'full'
0
5661
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5662
When method get
1884
5663
Then status 200
0
5664
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1'
1
5665
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5666
* def title = get response //citation/CI_Citation/title/CharacterString
1
5667
* def email = get response //electronicMailAddress/CharacterString
1
5668
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5669
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5670
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5671
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5672
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5673
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5674
* print organisationpath
0
06:40:38.451 [print] Beheer PDOK
5675
* print operateson
0
06:40:38.451 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification
5676
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5677
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5678
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.168:18]b87a0095-2ad7-4dbb-81a1-fed060df79e1
ms: 1436
>>
Background:
5679
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5680
* def mystorage = Java.type('storage.DataStorage')
2
5681
* def db = new mystorage
17
5682
* def db = db.setfeature(karate.info.featureFileName)
8
5683
* def separator = java.lang.System.getProperty("file.separator")
1
5684
* def outputpath = db.outputpath()
1
5685
* eval db.ensureDirectory(outputpath)
1
5686
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5687
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5688
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5689
Given path 'geonetwork/srv/dut/inspire'
0
5690
And param service = 'CSW'
0
5691
And param version = '2.0.2'
0
5692
And param request = 'GetRecordById'
0
5693
And param id = 'b87a0095-2ad7-4dbb-81a1-fed060df79e1'
0
5694
And param elementsetname = 'full'
0
5695
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5696
When method get
1404
5697
Then status 200
0
5698
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b87a0095-2ad7-4dbb-81a1-fed060df79e1'
1
5699
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
5700
* def title = get response //citation/CI_Citation/title/CharacterString
0
5701
* def email = get response //electronicMailAddress/CharacterString
0
5702
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
8
5703
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5704
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5705
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5706
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5707
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5708
* print organisationpath
0
06:40:38.092 [print] Beheer PDOK
5709
* print operateson
0
06:40:38.093 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
5710
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5711
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
15
5712
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.169:18]a88b4ed1-49c1-4f91-991e-dc1cc7c575f7
ms: 1982
>>
Background:
5713
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5714
* def mystorage = Java.type('storage.DataStorage')
2
5715
* def db = new mystorage
17
5716
* def db = db.setfeature(karate.info.featureFileName)
8
5717
* def separator = java.lang.System.getProperty("file.separator")
1
5718
* def outputpath = db.outputpath()
1
5719
* eval db.ensureDirectory(outputpath)
1
5720
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5721
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5722
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5723
Given path 'geonetwork/srv/dut/inspire'
0
5724
And param service = 'CSW'
0
5725
And param version = '2.0.2'
0
5726
And param request = 'GetRecordById'
0
5727
And param id = 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7'
1
5728
And param elementsetname = 'full'
0
5729
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5730
When method get
1971
5731
Then status 200
0
5732
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7'
2
5733
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5734
* def title = get response //citation/CI_Citation/title/CharacterString
1
5735
* def email = get response //electronicMailAddress/CharacterString
0
5736
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5737
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5738
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5739
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5740
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5741
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5742
* print organisationpath
0
06:40:38.686 [print] Interprovinciaal Overleg
5743
* print operateson
0
06:40:38.686 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
5744
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5745
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5746
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.170:18]wt-f297898-2640-44c2-bbe9-c0480dt83794
ms: 1806
>>
Background:
5747
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5748
* def mystorage = Java.type('storage.DataStorage')
2
5749
* def db = new mystorage
17
5750
* def db = db.setfeature(karate.info.featureFileName)
8
5751
* def separator = java.lang.System.getProperty("file.separator")
1
5752
* def outputpath = db.outputpath()
1
5753
* eval db.ensureDirectory(outputpath)
1
5754
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5755
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5756
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5757
Given path 'geonetwork/srv/dut/inspire'
0
5758
And param service = 'CSW'
0
5759
And param version = '2.0.2'
0
5760
And param request = 'GetRecordById'
0
5761
And param id = 'wt-f297898-2640-44c2-bbe9-c0480dt83794'
1
5762
And param elementsetname = 'full'
0
5763
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5764
When method get
1796
5765
Then status 200
0
5766
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480dt83794'
1
5767
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5768
* def title = get response //citation/CI_Citation/title/CharacterString
0
5769
* def email = get response //electronicMailAddress/CharacterString
0
5770
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5771
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5772
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5773
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5774
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5775
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5776
* print organisationpath
0
06:40:38.549 [print] Rijkswaterstaat
5777
* print operateson
0
06:40:38.549 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
5778
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5779
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dt83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5780
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dt83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.171:18]d796fd8d-b1e0-465c-a55b-1e9fe885fc3d
ms: 2020
>>
Background:
5781
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5782
* def mystorage = Java.type('storage.DataStorage')
2
5783
* def db = new mystorage
17
5784
* def db = db.setfeature(karate.info.featureFileName)
8
5785
* def separator = java.lang.System.getProperty("file.separator")
1
5786
* def outputpath = db.outputpath()
1
5787
* eval db.ensureDirectory(outputpath)
1
5788
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5789
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5790
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5791
Given path 'geonetwork/srv/dut/inspire'
0
5792
And param service = 'CSW'
0
5793
And param version = '2.0.2'
0
5794
And param request = 'GetRecordById'
0
5795
And param id = 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d'
0
5796
And param elementsetname = 'full'
0
5797
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5798
When method get
2012
5799
Then status 200
0
5800
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d'
1
5801
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5802
* def title = get response //citation/CI_Citation/title/CharacterString
0
5803
* def email = get response //electronicMailAddress/CharacterString
0
5804
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5805
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5806
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5807
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5808
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5809
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5810
* print organisationpath
0
06:40:38.797 [print] TNO Geologische Dienst Nederland
5811
* print operateson
0
06:40:38.797 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5812
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5813
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5814
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.172:18]e264c1e4-90fe-4968-bbf2-7019f6095348
ms: 2115
>>
Background:
5815
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5816
* def mystorage = Java.type('storage.DataStorage')
2
5817
* def db = new mystorage
17
5818
* def db = db.setfeature(karate.info.featureFileName)
8
5819
* def separator = java.lang.System.getProperty("file.separator")
1
5820
* def outputpath = db.outputpath()
1
5821
* eval db.ensureDirectory(outputpath)
1
5822
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5823
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5824
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5825
Given path 'geonetwork/srv/dut/inspire'
0
5826
And param service = 'CSW'
0
5827
And param version = '2.0.2'
0
5828
And param request = 'GetRecordById'
0
5829
And param id = 'e264c1e4-90fe-4968-bbf2-7019f6095348'
0
5830
And param elementsetname = 'full'
0
5831
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5832
When method get
2106
5833
Then status 200
0
5834
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e264c1e4-90fe-4968-bbf2-7019f6095348'
1
5835
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5836
* def title = get response //citation/CI_Citation/title/CharacterString
0
5837
* def email = get response //electronicMailAddress/CharacterString
0
5838
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5839
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5840
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5841
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5842
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5843
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5844
* print organisationpath
0
06:40:38.962 [print] Beheer PDOK
5845
* print operateson
0
06:40:38.962 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification" ]
5846
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5847
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5848
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.173:18]c56433ca-35f2-4aaf-8bfa-35d8e0e52dda
ms: 1980
>>
Background:
5849
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5850
* def mystorage = Java.type('storage.DataStorage')
2
5851
* def db = new mystorage
17
5852
* def db = db.setfeature(karate.info.featureFileName)
8
5853
* def separator = java.lang.System.getProperty("file.separator")
1
5854
* def outputpath = db.outputpath()
1
5855
* eval db.ensureDirectory(outputpath)
1
5856
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5857
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5858
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5859
Given path 'geonetwork/srv/dut/inspire'
1
5860
And param service = 'CSW'
0
5861
And param version = '2.0.2'
0
5862
And param request = 'GetRecordById'
0
5863
And param id = 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda'
0
5864
And param elementsetname = 'full'
0
5865
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5866
When method get
1971
5867
Then status 200
0
5868
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda'
1
5869
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5870
* def title = get response //citation/CI_Citation/title/CharacterString
1
5871
* def email = get response //electronicMailAddress/CharacterString
0
5872
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5873
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5874
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5875
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5876
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5877
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5878
* print organisationpath
0
06:40:38.901 [print]
5879
* print operateson
0
06:40:38.901 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification
5880
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5881
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5882
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.174:18]c6fa88ab-e440-414b-a773-793c4ce6d8df
ms: 1909
>>
Background:
5883
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5884
* def mystorage = Java.type('storage.DataStorage')
2
5885
* def db = new mystorage
17
5886
* def db = db.setfeature(karate.info.featureFileName)
8
5887
* def separator = java.lang.System.getProperty("file.separator")
1
5888
* def outputpath = db.outputpath()
1
5889
* eval db.ensureDirectory(outputpath)
1
5890
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5891
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5892
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5893
Given path 'geonetwork/srv/dut/inspire'
0
5894
And param service = 'CSW'
0
5895
And param version = '2.0.2'
0
5896
And param request = 'GetRecordById'
0
5897
And param id = 'c6fa88ab-e440-414b-a773-793c4ce6d8df'
1
5898
And param elementsetname = 'full'
0
5899
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5900
When method get
1900
5901
Then status 200
0
5902
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c6fa88ab-e440-414b-a773-793c4ce6d8df'
1
5903
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5904
* def title = get response //citation/CI_Citation/title/CharacterString
1
5905
* def email = get response //electronicMailAddress/CharacterString
1
5906
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5907
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5908
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5909
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5910
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5911
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5912
* print organisationpath
0
06:40:38.919 [print] Beheer PDOK
5913
* print operateson
0
06:40:38.919 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c5c4a6d6-b850-473c-8ab5-af9c2c550809#MD_DataIdentification
5914
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5915
* eval db.writeln('"c6fa88ab-e440-414b-a773-793c4ce6d8df","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5916
* eval db.writeln('"c6fa88ab-e440-414b-a773-793c4ce6d8df","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.175:18]6d2fce74-fb25-4322-ab25-1be8a3bc7fd0
ms: 1759
>>
Background:
5917
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5918
* def mystorage = Java.type('storage.DataStorage')
2
5919
* def db = new mystorage
17
5920
* def db = db.setfeature(karate.info.featureFileName)
8
5921
* def separator = java.lang.System.getProperty("file.separator")
1
5922
* def outputpath = db.outputpath()
1
5923
* eval db.ensureDirectory(outputpath)
1
5924
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5925
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5926
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5927
Given path 'geonetwork/srv/dut/inspire'
0
5928
And param service = 'CSW'
0
5929
And param version = '2.0.2'
0
5930
And param request = 'GetRecordById'
0
5931
And param id = '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0'
0
5932
And param elementsetname = 'full'
0
5933
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5934
When method get
1750
5935
Then status 200
0
5936
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0'
1
5937
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5938
* def title = get response //citation/CI_Citation/title/CharacterString
1
5939
* def email = get response //electronicMailAddress/CharacterString
0
5940
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5941
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5942
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5943
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5944
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5945
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5946
* print organisationpath
0
06:40:38.935 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5947
* print operateson
0
06:40:38.935 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification
5948
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5949
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5950
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.176:18]37e05521-c323-4dbe-aba4-de1178ba44a5
ms: 2120
>>
Background:
5951
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5952
* def mystorage = Java.type('storage.DataStorage')
2
5953
* def db = new mystorage
17
5954
* def db = db.setfeature(karate.info.featureFileName)
8
5955
* def separator = java.lang.System.getProperty("file.separator")
1
5956
* def outputpath = db.outputpath()
1
5957
* eval db.ensureDirectory(outputpath)
1
5958
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5959
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5960
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5961
Given path 'geonetwork/srv/dut/inspire'
0
5962
And param service = 'CSW'
0
5963
And param version = '2.0.2'
0
5964
And param request = 'GetRecordById'
0
5965
And param id = '37e05521-c323-4dbe-aba4-de1178ba44a5'
0
5966
And param elementsetname = 'full'
0
5967
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5968
When method get
2054
5969
Then status 200
0
5970
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37e05521-c323-4dbe-aba4-de1178ba44a5'
7
5971
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
6
5972
* def title = get response //citation/CI_Citation/title/CharacterString
6
5973
* def email = get response //electronicMailAddress/CharacterString
7
5974
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
6
5975
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
5976
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
3
5977
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
4
5978
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
4
5979
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
7
5980
* print organisationpath
0
06:40:39.294 [print] Beheer PDOK
5981
* print operateson
0
06:40:39.294 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification
5982
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
6
5983
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
5984
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.177:18]d415c10a-8dbf-4c01-8061-4689e5db38ac
ms: 2064
>>
Background:
5985
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
5986
* def mystorage = Java.type('storage.DataStorage')
2
5987
* def db = new mystorage
17
5988
* def db = db.setfeature(karate.info.featureFileName)
8
5989
* def separator = java.lang.System.getProperty("file.separator")
1
5990
* def outputpath = db.outputpath()
1
5991
* eval db.ensureDirectory(outputpath)
1
5992
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5993
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5994
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5995
Given path 'geonetwork/srv/dut/inspire'
0
5996
And param service = 'CSW'
0
5997
And param version = '2.0.2'
0
5998
And param request = 'GetRecordById'
0
5999
And param id = 'd415c10a-8dbf-4c01-8061-4689e5db38ac'
0
6000
And param elementsetname = 'full'
0
6001
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6002
When method get
2034
6003
Then status 200
0
6004
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd415c10a-8dbf-4c01-8061-4689e5db38ac'
9
6005
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6006
* def title = get response //citation/CI_Citation/title/CharacterString
1
6007
* def email = get response //electronicMailAddress/CharacterString
1
6008
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6009
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6010
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6011
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6012
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6013
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6014
* print organisationpath
0
06:40:39.265 [print] Beheer PDOK
6015
* print operateson
0
06:40:39.265 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2220c0dd-3720-4e39-a130-171531c1e694#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=78d31ab4-4116-45b7-bcf5-e14960916b0f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b250f3a4-ed78-4c85-8cd5-f1af43841c6d#MD_DataIdentification" ]
6016
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6017
* eval db.writeln('"d415c10a-8dbf-4c01-8061-4689e5db38ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
13
6018
* eval db.writeln('"d415c10a-8dbf-4c01-8061-4689e5db38ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.178:18]755d488b-7b94-4883-95be-6aa279604f85
ms: 1989
>>
Background:
6019
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6020
* def mystorage = Java.type('storage.DataStorage')
2
6021
* def db = new mystorage
17
6022
* def db = db.setfeature(karate.info.featureFileName)
8
6023
* def separator = java.lang.System.getProperty("file.separator")
1
6024
* def outputpath = db.outputpath()
1
6025
* eval db.ensureDirectory(outputpath)
1
6026
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6027
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6028
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6029
Given path 'geonetwork/srv/dut/inspire'
0
6030
And param service = 'CSW'
0
6031
And param version = '2.0.2'
0
6032
And param request = 'GetRecordById'
0
6033
And param id = '755d488b-7b94-4883-95be-6aa279604f85'
0
6034
And param elementsetname = 'full'
0
6035
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6036
When method get
1913
6037
Then status 200
0
6038
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '755d488b-7b94-4883-95be-6aa279604f85'
1
6039
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6040
* def title = get response //citation/CI_Citation/title/CharacterString
0
6041
* def email = get response //electronicMailAddress/CharacterString
0
6042
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6043
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
37
6044
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6045
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6046
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6047
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6048
* print organisationpath
0
06:40:39.242 [print]
6049
* print operateson
0
06:40:39.242 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification
6050
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6051
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
6052
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
27
Scenario Outline: [1.179:18]6bd9f72e-dcd2-11e3-ab0a-901b0e19e163
ms: 1946
>>
Background:
6053
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6054
* def mystorage = Java.type('storage.DataStorage')
2
6055
* def db = new mystorage
17
6056
* def db = db.setfeature(karate.info.featureFileName)
8
6057
* def separator = java.lang.System.getProperty("file.separator")
1
6058
* def outputpath = db.outputpath()
1
6059
* eval db.ensureDirectory(outputpath)
1
6060
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6061
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6062
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6063
Given path 'geonetwork/srv/dut/inspire'
0
6064
And param service = 'CSW'
0
6065
And param version = '2.0.2'
0
6066
And param request = 'GetRecordById'
0
6067
And param id = '6bd9f72e-dcd2-11e3-ab0a-901b0e19e163'
0
6068
And param elementsetname = 'full'
0
6069
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6070
When method get
1933
6071
Then status 200
0
6072
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6bd9f72e-dcd2-11e3-ab0a-901b0e19e163'
4
6073
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6074
* def title = get response //citation/CI_Citation/title/CharacterString
0
6075
* def email = get response //electronicMailAddress/CharacterString
1
6076
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6077
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6078
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6079
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6080
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6081
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6082
* print organisationpath
0
06:40:39.316 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
6083
* print operateson
0
06:40:39.316 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=380aa01e-dce7-11e3-9f07-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
6084
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6085
* eval db.writeln('"6bd9f72e-dcd2-11e3-ab0a-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6086
* eval db.writeln('"6bd9f72e-dcd2-11e3-ab0a-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.180:18]c474b492-da63-4a33-9bdd-b3709ce2cd6c
ms: 2004
>>
Background:
6087
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6088
* def mystorage = Java.type('storage.DataStorage')
2
6089
* def db = new mystorage
17
6090
* def db = db.setfeature(karate.info.featureFileName)
8
6091
* def separator = java.lang.System.getProperty("file.separator")
1
6092
* def outputpath = db.outputpath()
1
6093
* eval db.ensureDirectory(outputpath)
1
6094
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6095
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6096
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6097
Given path 'geonetwork/srv/dut/inspire'
0
6098
And param service = 'CSW'
0
6099
And param version = '2.0.2'
0
6100
And param request = 'GetRecordById'
0
6101
And param id = 'c474b492-da63-4a33-9bdd-b3709ce2cd6c'
0
6102
And param elementsetname = 'full'
0
6103
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6104
When method get
1988
6105
Then status 200
0
6106
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c474b492-da63-4a33-9bdd-b3709ce2cd6c'
1
6107
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6108
* def title = get response //citation/CI_Citation/title/CharacterString
2
6109
* def email = get response //electronicMailAddress/CharacterString
0
6110
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6111
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6112
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6113
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6114
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6115
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6116
* print organisationpath
0
06:40:39.470 [print] Beheer PDOK
6117
* print operateson
0
06:40:39.470 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification
6118
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6119
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6120
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.181:18]9c4862c3-0bab-49c3-bc2f-ac5486826766
ms: 2021
>>
Background:
6121
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6122
* def mystorage = Java.type('storage.DataStorage')
2
6123
* def db = new mystorage
17
6124
* def db = db.setfeature(karate.info.featureFileName)
8
6125
* def separator = java.lang.System.getProperty("file.separator")
1
6126
* def outputpath = db.outputpath()
1
6127
* eval db.ensureDirectory(outputpath)
1
6128
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6129
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6130
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6131
Given path 'geonetwork/srv/dut/inspire'
0
6132
And param service = 'CSW'
0
6133
And param version = '2.0.2'
0
6134
And param request = 'GetRecordById'
0
6135
And param id = '9c4862c3-0bab-49c3-bc2f-ac5486826766'
0
6136
And param elementsetname = 'full'
0
6137
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6138
When method get
1975
6139
Then status 200
0
6140
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c4862c3-0bab-49c3-bc2f-ac5486826766'
4
6141
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
6142
* def title = get response //citation/CI_Citation/title/CharacterString
3
6143
* def email = get response //electronicMailAddress/CharacterString
2
6144
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
4
6145
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
7
6146
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
6147
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
6148
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
5
6149
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
6150
* print organisationpath
0
06:40:39.601 [print] Beheer PDOK
6151
* print operateson
0
06:40:39.601 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification
6152
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
5
6153
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6154
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.182:18]a84f9836-9111-4e45-a311-3dab39019e15
ms: 1865
>>
Background:
6155
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6156
* def mystorage = Java.type('storage.DataStorage')
2
6157
* def db = new mystorage
17
6158
* def db = db.setfeature(karate.info.featureFileName)
8
6159
* def separator = java.lang.System.getProperty("file.separator")
1
6160
* def outputpath = db.outputpath()
1
6161
* eval db.ensureDirectory(outputpath)
1
6162
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6163
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6164
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6165
Given path 'geonetwork/srv/dut/inspire'
0
6166
And param service = 'CSW'
0
6167
And param version = '2.0.2'
0
6168
And param request = 'GetRecordById'
0
6169
And param id = 'a84f9836-9111-4e45-a311-3dab39019e15'
0
6170
And param elementsetname = 'full'
0
6171
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6172
When method get
1830
6173
Then status 200
0
6174
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a84f9836-9111-4e45-a311-3dab39019e15'
2
6175
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6176
* def title = get response //citation/CI_Citation/title/CharacterString
1
6177
* def email = get response //electronicMailAddress/CharacterString
1
6178
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6179
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6180
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6181
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
11
6182
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6183
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6184
* print organisationpath
0
06:40:39.459 [print] Beheer PDOK
6185
* print operateson
0
06:40:39.459 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
6186
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6187
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
13
6188
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.183:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b2
ms: 1904
>>
Background:
6189
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6190
* def mystorage = Java.type('storage.DataStorage')
2
6191
* def db = new mystorage
17
6192
* def db = db.setfeature(karate.info.featureFileName)
8
6193
* def separator = java.lang.System.getProperty("file.separator")
1
6194
* def outputpath = db.outputpath()
1
6195
* eval db.ensureDirectory(outputpath)
1
6196
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6197
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6198
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6199
Given path 'geonetwork/srv/dut/inspire'
0
6200
And param service = 'CSW'
0
6201
And param version = '2.0.2'
0
6202
And param request = 'GetRecordById'
0
6203
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2'
1
6204
And param elementsetname = 'full'
0
6205
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6206
When method get
1886
6207
Then status 200
0
6208
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2'
1
6209
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6210
* def title = get response //citation/CI_Citation/title/CharacterString
0
6211
* def email = get response //electronicMailAddress/CharacterString
1
6212
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6213
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6214
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6215
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6216
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6217
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6218
* print organisationpath
0
06:40:39.591 [print] Rijkswaterstaat
6219
* print operateson
0
06:40:39.591 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification
6220
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6221
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6222
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.184:18]918388cf-9d8c-4264-b108-3e375bde0d52
ms: 1838
>>
Background:
6223
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6224
* def mystorage = Java.type('storage.DataStorage')
2
6225
* def db = new mystorage
17
6226
* def db = db.setfeature(karate.info.featureFileName)
8
6227
* def separator = java.lang.System.getProperty("file.separator")
1
6228
* def outputpath = db.outputpath()
1
6229
* eval db.ensureDirectory(outputpath)
1
6230
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6231
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6232
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6233
Given path 'geonetwork/srv/dut/inspire'
0
6234
And param service = 'CSW'
0
6235
And param version = '2.0.2'
0
6236
And param request = 'GetRecordById'
0
6237
And param id = '918388cf-9d8c-4264-b108-3e375bde0d52'
1
6238
And param elementsetname = 'full'
0
6239
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6240
When method get
1826
6241
Then status 200
0
6242
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '918388cf-9d8c-4264-b108-3e375bde0d52'
1
6243
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6244
* def title = get response //citation/CI_Citation/title/CharacterString
1
6245
* def email = get response //electronicMailAddress/CharacterString
0
6246
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6247
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6248
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6249
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6250
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6251
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6252
* print organisationpath
0
06:40:39.578 [print] Beheer PDOK
6253
* print operateson
0
06:40:39.578 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db60a314-5583-437d-a2ff-1e59cc57704e#MD_DataIdentification" ]
6254
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6255
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6256
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.185:18]d69fee4a-e3ff-47d4-919d-e55276a3fad9
ms: 1873
>>
Background:
6257
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6258
* def mystorage = Java.type('storage.DataStorage')
2
6259
* def db = new mystorage
17
6260
* def db = db.setfeature(karate.info.featureFileName)
8
6261
* def separator = java.lang.System.getProperty("file.separator")
1
6262
* def outputpath = db.outputpath()
1
6263
* eval db.ensureDirectory(outputpath)
1
6264
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6265
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6266
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6267
Given path 'geonetwork/srv/dut/inspire'
0
6268
And param service = 'CSW'
0
6269
And param version = '2.0.2'
0
6270
And param request = 'GetRecordById'
0
6271
And param id = 'd69fee4a-e3ff-47d4-919d-e55276a3fad9'
1
6272
And param elementsetname = 'full'
0
6273
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6274
When method get
1863
6275
Then status 200
0
6276
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd69fee4a-e3ff-47d4-919d-e55276a3fad9'
1
6277
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6278
* def title = get response //citation/CI_Citation/title/CharacterString
0
6279
* def email = get response //electronicMailAddress/CharacterString
0
6280
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6281
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6282
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6283
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6284
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6285
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6286
* print organisationpath
0
06:40:39.690 [print] Beheer PDOK
6287
* print operateson
0
06:40:39.690 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification
6288
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6289
* eval db.writeln('"d69fee4a-e3ff-47d4-919d-e55276a3fad9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6290
* eval db.writeln('"d69fee4a-e3ff-47d4-919d-e55276a3fad9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.186:18]18e052b6-dce6-11e3-9e6e-901b0e19e163
ms: 1954
>>
Background:
6291
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6292
* def mystorage = Java.type('storage.DataStorage')
2
6293
* def db = new mystorage
17
6294
* def db = db.setfeature(karate.info.featureFileName)
8
6295
* def separator = java.lang.System.getProperty("file.separator")
1
6296
* def outputpath = db.outputpath()
1
6297
* eval db.ensureDirectory(outputpath)
1
6298
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6299
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6300
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6301
Given path 'geonetwork/srv/dut/inspire'
0
6302
And param service = 'CSW'
0
6303
And param version = '2.0.2'
0
6304
And param request = 'GetRecordById'
0
6305
And param id = '18e052b6-dce6-11e3-9e6e-901b0e19e163'
1
6306
And param elementsetname = 'full'
0
6307
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6308
When method get
1942
6309
Then status 200
0
6310
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '18e052b6-dce6-11e3-9e6e-901b0e19e163'
1
6311
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6312
* def title = get response //citation/CI_Citation/title/CharacterString
0
6313
* def email = get response //electronicMailAddress/CharacterString
0
6314
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6315
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6316
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
6317
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6318
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6319
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6320
* print organisationpath
0
06:40:39.806 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
6321
* print operateson
0
06:40:39.806 [print] [ "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=b59f06c0-dce5-11e3-9c10-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=64c987ec-dce6-11e3-8563-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=daa63e4c-dce6-11e3-991e-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=380aa01e-dce7-11e3-9f07-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
6322
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6323
* eval db.writeln('"18e052b6-dce6-11e3-9e6e-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6324
* eval db.writeln('"18e052b6-dce6-11e3-9e6e-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.187:18]feabca04-e3fd-4802-96f2-583d328e30ad
ms: 1975
>>
Background:
6325
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6326
* def mystorage = Java.type('storage.DataStorage')
2
6327
* def db = new mystorage
17
6328
* def db = db.setfeature(karate.info.featureFileName)
8
6329
* def separator = java.lang.System.getProperty("file.separator")
1
6330
* def outputpath = db.outputpath()
1
6331
* eval db.ensureDirectory(outputpath)
1
6332
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6333
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6334
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6335
Given path 'geonetwork/srv/dut/inspire'
0
6336
And param service = 'CSW'
0
6337
And param version = '2.0.2'
0
6338
And param request = 'GetRecordById'
0
6339
And param id = 'feabca04-e3fd-4802-96f2-583d328e30ad'
0
6340
And param elementsetname = 'full'
0
6341
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6342
When method get
1967
6343
Then status 200
0
6344
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'feabca04-e3fd-4802-96f2-583d328e30ad'
1
6345
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6346
* def title = get response //citation/CI_Citation/title/CharacterString
0
6347
* def email = get response //electronicMailAddress/CharacterString
0
6348
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6349
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6350
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6351
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6352
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6353
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6354
* print organisationpath
0
06:40:39.882 [print] Beheer PDOK
6355
* print operateson
0
06:40:39.882 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb#MD_DataIdentification
6356
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6357
* eval db.writeln('"feabca04-e3fd-4802-96f2-583d328e30ad","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6358
* eval db.writeln('"feabca04-e3fd-4802-96f2-583d328e30ad","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.188:18]68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2
ms: 1893
>>
Background:
6359
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6360
* def mystorage = Java.type('storage.DataStorage')
2
6361
* def db = new mystorage
17
6362
* def db = db.setfeature(karate.info.featureFileName)
8
6363
* def separator = java.lang.System.getProperty("file.separator")
1
6364
* def outputpath = db.outputpath()
1
6365
* eval db.ensureDirectory(outputpath)
1
6366
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6367
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6368
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6369
Given path 'geonetwork/srv/dut/inspire'
0
6370
And param service = 'CSW'
6
6371
And param version = '2.0.2'
0
6372
And param request = 'GetRecordById'
0
6373
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2'
1
6374
And param elementsetname = 'full'
0
6375
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6376
When method get
1877
6377
Then status 200
0
6378
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2'
1
6379
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6380
* def title = get response //citation/CI_Citation/title/CharacterString
0
6381
* def email = get response //electronicMailAddress/CharacterString
0
6382
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6383
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6384
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6385
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6386
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6387
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6388
* print organisationpath
0
06:40:40.000 [print] Rijkswaterstaat
6389
* print operateson
0
06:40:40.000 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6390
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6391
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6392
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.189:18]598c4109-21d2-4a6c-b083-9975a6736849
ms: 1802
>>
Background:
6393
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6394
* def mystorage = Java.type('storage.DataStorage')
2
6395
* def db = new mystorage
17
6396
* def db = db.setfeature(karate.info.featureFileName)
8
6397
* def separator = java.lang.System.getProperty("file.separator")
1
6398
* def outputpath = db.outputpath()
1
6399
* eval db.ensureDirectory(outputpath)
1
6400
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6401
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6402
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6403
Given path 'geonetwork/srv/dut/inspire'
0
6404
And param service = 'CSW'
0
6405
And param version = '2.0.2'
0
6406
And param request = 'GetRecordById'
0
6407
And param id = '598c4109-21d2-4a6c-b083-9975a6736849'
0
6408
And param elementsetname = 'full'
0
6409
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6410
When method get
1793
6411
Then status 200
0
6412
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736849'
1
6413
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6414
* def title = get response //citation/CI_Citation/title/CharacterString
0
6415
* def email = get response //electronicMailAddress/CharacterString
0
6416
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6417
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6418
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6419
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6420
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6421
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6422
* print organisationpath
0
06:40:39.910 [print] Beheer PDOK
6423
* print operateson
0
06:40:39.910 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification" ]
6424
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6425
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6426
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.190:18]80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a
ms: 2096
>>
Background:
6427
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6428
* def mystorage = Java.type('storage.DataStorage')
2
6429
* def db = new mystorage
17
6430
* def db = db.setfeature(karate.info.featureFileName)
8
6431
* def separator = java.lang.System.getProperty("file.separator")
1
6432
* def outputpath = db.outputpath()
1
6433
* eval db.ensureDirectory(outputpath)
1
6434
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6435
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6436
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6437
Given path 'geonetwork/srv/dut/inspire'
0
6438
And param service = 'CSW'
0
6439
And param version = '2.0.2'
0
6440
And param request = 'GetRecordById'
0
6441
And param id = '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a'
0
6442
And param elementsetname = 'full'
0
6443
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6444
When method get
2084
6445
Then status 200
0
6446
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a'
2
6447
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6448
* def title = get response //citation/CI_Citation/title/CharacterString
1
6449
* def email = get response //electronicMailAddress/CharacterString
1
6450
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6451
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6452
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6453
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6454
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6455
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6456
* print organisationpath
0
06:40:40.207 [print] Beheer PDOK
6457
* print operateson
0
06:40:40.207 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification
6458
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6459
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6460
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.191:18]b0119753-5625-4500-9df3-13823ff9868f
ms: 1763
>>
Background:
6461
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6462
* def mystorage = Java.type('storage.DataStorage')
2
6463
* def db = new mystorage
17
6464
* def db = db.setfeature(karate.info.featureFileName)
8
6465
* def separator = java.lang.System.getProperty("file.separator")
1
6466
* def outputpath = db.outputpath()
1
6467
* eval db.ensureDirectory(outputpath)
1
6468
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6469
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6470
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6471
Given path 'geonetwork/srv/dut/inspire'
0
6472
And param service = 'CSW'
0
6473
And param version = '2.0.2'
0
6474
And param request = 'GetRecordById'
0
6475
And param id = 'b0119753-5625-4500-9df3-13823ff9868f'
0
6476
And param elementsetname = 'full'
0
6477
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6478
When method get
1736
6479
Then status 200
0
6480
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b0119753-5625-4500-9df3-13823ff9868f'
2
6481
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
6482
* def title = get response //citation/CI_Citation/title/CharacterString
1
6483
* def email = get response //electronicMailAddress/CharacterString
2
6484
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
6485
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6486
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6487
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6488
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6489
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
6490
* print organisationpath
0
06:40:40.195 [print] Beheer PDOK
6491
* print operateson
0
06:40:40.195 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
6492
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6493
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
6494
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.192:18]1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb
ms: 1910
>>
Background:
6495
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6496
* def mystorage = Java.type('storage.DataStorage')
2
6497
* def db = new mystorage
17
6498
* def db = db.setfeature(karate.info.featureFileName)
8
6499
* def separator = java.lang.System.getProperty("file.separator")
1
6500
* def outputpath = db.outputpath()
1
6501
* eval db.ensureDirectory(outputpath)
1
6502
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6503
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6504
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6505
Given path 'geonetwork/srv/dut/inspire'
0
6506
And param service = 'CSW'
0
6507
And param version = '2.0.2'
0
6508
And param request = 'GetRecordById'
0
6509
And param id = '1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb'
0
6510
And param elementsetname = 'full'
0
6511
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6512
When method get
1891
6513
Then status 200
0
6514
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb'
9
6515
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6516
* def title = get response //citation/CI_Citation/title/CharacterString
0
6517
* def email = get response //electronicMailAddress/CharacterString
0
6518
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6519
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6520
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6521
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6522
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6523
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6524
* print organisationpath
0
06:40:40.360 [print] Beheer PDOK
6525
* print operateson
0
06:40:40.360 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
6526
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6527
* eval db.writeln('"1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
6528
* eval db.writeln('"1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.193:18]6b608d4e-5628-4d59-97fc-0322c57357b2
ms: 1864
>>
Background:
6529
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6530
* def mystorage = Java.type('storage.DataStorage')
2
6531
* def db = new mystorage
17
6532
* def db = db.setfeature(karate.info.featureFileName)
8
6533
* def separator = java.lang.System.getProperty("file.separator")
1
6534
* def outputpath = db.outputpath()
1
6535
* eval db.ensureDirectory(outputpath)
1
6536
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6537
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6538
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6539
Given path 'geonetwork/srv/dut/inspire'
0
6540
And param service = 'CSW'
0
6541
And param version = '2.0.2'
0
6542
And param request = 'GetRecordById'
0
6543
And param id = '6b608d4e-5628-4d59-97fc-0322c57357b2'
0
6544
And param elementsetname = 'full'
0
6545
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6546
When method get
1855
6547
Then status 200
0
6548
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6b608d4e-5628-4d59-97fc-0322c57357b2'
1
6549
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6550
* def title = get response //citation/CI_Citation/title/CharacterString
0
6551
* def email = get response //electronicMailAddress/CharacterString
0
6552
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6553
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6554
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6555
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6556
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6557
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6558
* print organisationpath
0
06:40:40.413 [print] Beheer PDOK
6559
* print operateson
0
06:40:40.413 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification
6560
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6561
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6562
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.194:18]82fa284e-8218-40e4-a593-c2f8a832c3d5
ms: 1671
>>
Background:
6563
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6564
* def mystorage = Java.type('storage.DataStorage')
2
6565
* def db = new mystorage
17
6566
* def db = db.setfeature(karate.info.featureFileName)
8
6567
* def separator = java.lang.System.getProperty("file.separator")
1
6568
* def outputpath = db.outputpath()
1
6569
* eval db.ensureDirectory(outputpath)
1
6570
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6571
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6572
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6573
Given path 'geonetwork/srv/dut/inspire'
0
6574
And param service = 'CSW'
0
6575
And param version = '2.0.2'
0
6576
And param request = 'GetRecordById'
0
6577
And param id = '82fa284e-8218-40e4-a593-c2f8a832c3d5'
0
6578
And param elementsetname = 'full'
0
6579
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6580
When method get
1645
6581
Then status 200
0
6582
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82fa284e-8218-40e4-a593-c2f8a832c3d5'
1
6583
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6584
* def title = get response //citation/CI_Citation/title/CharacterString
0
6585
* def email = get response //electronicMailAddress/CharacterString
0
6586
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6587
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6588
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6589
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6590
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6591
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6592
* print organisationpath
0
06:40:40.342 [print]
6593
* print operateson
0
06:40:40.342 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6594
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6595
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
18
6596
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.195:18]a12ae6ca-b755-4707-884f-95c0d66f431a
ms: 1721
>>
Background:
6597
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6598
* def mystorage = Java.type('storage.DataStorage')
2
6599
* def db = new mystorage
17
6600
* def db = db.setfeature(karate.info.featureFileName)
8
6601
* def separator = java.lang.System.getProperty("file.separator")
1
6602
* def outputpath = db.outputpath()
1
6603
* eval db.ensureDirectory(outputpath)
1
6604
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6605
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6606
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6607
Given path 'geonetwork/srv/dut/inspire'
0
6608
And param service = 'CSW'
0
6609
And param version = '2.0.2'
0
6610
And param request = 'GetRecordById'
0
6611
And param id = 'a12ae6ca-b755-4707-884f-95c0d66f431a'
0
6612
And param elementsetname = 'full'
0
6613
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6614
When method get
1713
6615
Then status 200
0
6616
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a12ae6ca-b755-4707-884f-95c0d66f431a'
1
6617
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6618
* def title = get response //citation/CI_Citation/title/CharacterString
0
6619
* def email = get response //electronicMailAddress/CharacterString
0
6620
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6621
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6622
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6623
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6624
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6625
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6626
* print organisationpath
0
06:40:40.518 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
6627
* print operateson
0
06:40:40.518 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification
6628
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6629
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6630
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.196:18]03c48a93-1e31-4c69-92c6-9a7efecf67a9
ms: 1533
>>
Background:
6631
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6632
* def mystorage = Java.type('storage.DataStorage')
2
6633
* def db = new mystorage
17
6634
* def db = db.setfeature(karate.info.featureFileName)
8
6635
* def separator = java.lang.System.getProperty("file.separator")
1
6636
* def outputpath = db.outputpath()
1
6637
* eval db.ensureDirectory(outputpath)
1
6638
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6639
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6640
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6641
Given path 'geonetwork/srv/dut/inspire'
1
6642
And param service = 'CSW'
0
6643
And param version = '2.0.2'
0
6644
And param request = 'GetRecordById'
0
6645
And param id = '03c48a93-1e31-4c69-92c6-9a7efecf67a9'
0
6646
And param elementsetname = 'full'
0
6647
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6648
When method get
1525
6649
Then status 200
0
6650
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c48a93-1e31-4c69-92c6-9a7efecf67a9'
1
6651
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6652
* def title = get response //citation/CI_Citation/title/CharacterString
0
6653
* def email = get response //electronicMailAddress/CharacterString
0
6654
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6655
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6656
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6657
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6658
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6659
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6660
* print organisationpath
0
06:40:40.435 [print] Beheer PDOK
6661
* print operateson
0
06:40:40.435 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4bed072-0fda-47b8-96fa-457a938b88fc", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b137b8-2317-42c2-aced-204c4216d68d" ]
6662
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6663
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6664
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.197:18]wt-3730-e750-485a-9c0c-39bf9bm72cf9
ms: 1686
>>
Background:
6665
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6666
* def mystorage = Java.type('storage.DataStorage')
2
6667
* def db = new mystorage
17
6668
* def db = db.setfeature(karate.info.featureFileName)
8
6669
* def separator = java.lang.System.getProperty("file.separator")
1
6670
* def outputpath = db.outputpath()
1
6671
* eval db.ensureDirectory(outputpath)
1
6672
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6673
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6674
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6675
Given path 'geonetwork/srv/dut/inspire'
0
6676
And param service = 'CSW'
0
6677
And param version = '2.0.2'
0
6678
And param request = 'GetRecordById'
0
6679
And param id = 'wt-3730-e750-485a-9c0c-39bf9bm72cf9'
0
6680
And param elementsetname = 'full'
0
6681
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6682
When method get
1677
6683
Then status 200
0
6684
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bm72cf9'
1
6685
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6686
* def title = get response //citation/CI_Citation/title/CharacterString
1
6687
* def email = get response //electronicMailAddress/CharacterString
1
6688
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6689
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6690
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6691
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6692
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6693
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6694
* print organisationpath
0
06:40:40.606 [print] Rijkswaterstaat
6695
* print operateson
0
06:40:40.606 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
6696
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6697
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bm72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6698
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bm72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.198:18]aaf53e6f-fe99-4a86-a61c-50b128412d80
ms: 1901
>>
Background:
6699
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6700
* def mystorage = Java.type('storage.DataStorage')
2
6701
* def db = new mystorage
17
6702
* def db = db.setfeature(karate.info.featureFileName)
8
6703
* def separator = java.lang.System.getProperty("file.separator")
1
6704
* def outputpath = db.outputpath()
1
6705
* eval db.ensureDirectory(outputpath)
1
6706
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6707
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6708
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6709
Given path 'geonetwork/srv/dut/inspire'
0
6710
And param service = 'CSW'
0
6711
And param version = '2.0.2'
0
6712
And param request = 'GetRecordById'
0
6713
And param id = 'aaf53e6f-fe99-4a86-a61c-50b128412d80'
0
6714
And param elementsetname = 'full'
0
6715
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6716
When method get
1892
6717
Then status 200
0
6718
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'aaf53e6f-fe99-4a86-a61c-50b128412d80'
1
6719
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6720
* def title = get response //citation/CI_Citation/title/CharacterString
0
6721
* def email = get response //electronicMailAddress/CharacterString
0
6722
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6723
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6724
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6725
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6726
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6727
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6728
* print organisationpath
0
06:40:40.835 [print] Beheer PDOK
6729
* print operateson
0
06:40:40.835 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification
6730
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6731
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6732
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.199:18]3094a1c4-3dd6-4e8e-9929-4a63dd66992e
ms: 1757
>>
Background:
6733
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6734
* def mystorage = Java.type('storage.DataStorage')
2
6735
* def db = new mystorage
17
6736
* def db = db.setfeature(karate.info.featureFileName)
8
6737
* def separator = java.lang.System.getProperty("file.separator")
1
6738
* def outputpath = db.outputpath()
1
6739
* eval db.ensureDirectory(outputpath)
1
6740
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6741
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6742
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6743
Given path 'geonetwork/srv/dut/inspire'
0
6744
And param service = 'CSW'
0
6745
And param version = '2.0.2'
0
6746
And param request = 'GetRecordById'
0
6747
And param id = '3094a1c4-3dd6-4e8e-9929-4a63dd66992e'
0
6748
And param elementsetname = 'full'
0
6749
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6750
When method get
1749
6751
Then status 200
0
6752
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3094a1c4-3dd6-4e8e-9929-4a63dd66992e'
1
6753
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6754
* def title = get response //citation/CI_Citation/title/CharacterString
0
6755
* def email = get response //electronicMailAddress/CharacterString
0
6756
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6757
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6758
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6759
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6760
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6761
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6762
* print organisationpath
0
06:40:40.720 [print] Interprovinciaal Overleg
6763
* print operateson
0
06:40:40.720 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
6764
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6765
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6766
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.200:18]cd370f58-0e54-48d6-b83b-ccd332bfb7c7
ms: 1599
>>
Background:
6767
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6768
* def mystorage = Java.type('storage.DataStorage')
2
6769
* def db = new mystorage
17
6770
* def db = db.setfeature(karate.info.featureFileName)
8
6771
* def separator = java.lang.System.getProperty("file.separator")
1
6772
* def outputpath = db.outputpath()
1
6773
* eval db.ensureDirectory(outputpath)
1
6774
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6775
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6776
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6777
Given path 'geonetwork/srv/dut/inspire'
0
6778
And param service = 'CSW'
0
6779
And param version = '2.0.2'
0
6780
And param request = 'GetRecordById'
0
6781
And param id = 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7'
0
6782
And param elementsetname = 'full'
0
6783
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6784
When method get
1590
6785
Then status 200
0
6786
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7'
1
6787
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6788
* def title = get response //citation/CI_Citation/title/CharacterString
1
6789
* def email = get response //electronicMailAddress/CharacterString
0
6790
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6791
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6792
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6793
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6794
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6795
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6796
* print organisationpath
0
06:40:40.872 [print]
6797
* print operateson
0
06:40:40.872 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification
6798
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6799
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6800
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.201:18]09588464-071b-47be-8cbe-d15f2e1f9634
ms: 1621
>>
Background:
6801
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6802
* def mystorage = Java.type('storage.DataStorage')
2
6803
* def db = new mystorage
17
6804
* def db = db.setfeature(karate.info.featureFileName)
8
6805
* def separator = java.lang.System.getProperty("file.separator")
1
6806
* def outputpath = db.outputpath()
1
6807
* eval db.ensureDirectory(outputpath)
1
6808
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6809
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6810
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6811
Given path 'geonetwork/srv/dut/inspire'
10
6812
And param service = 'CSW'
0
6813
And param version = '2.0.2'
0
6814
And param request = 'GetRecordById'
0
6815
And param id = '09588464-071b-47be-8cbe-d15f2e1f9634'
0
6816
And param elementsetname = 'full'
0
6817
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6818
When method get
1604
6819
Then status 200
0
6820
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '09588464-071b-47be-8cbe-d15f2e1f9634'
1
6821
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6822
* def title = get response //citation/CI_Citation/title/CharacterString
0
6823
* def email = get response //electronicMailAddress/CharacterString
0
6824
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6825
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6826
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6827
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6828
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6829
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6830
* print organisationpath
0
06:40:40.898 [print] Beheer PDOK
6831
* print operateson
0
06:40:40.899 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification
6832
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6833
* eval db.writeln('"09588464-071b-47be-8cbe-d15f2e1f9634","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6834
* eval db.writeln('"09588464-071b-47be-8cbe-d15f2e1f9634","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.202:18]18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79
ms: 1636
>>
Background:
6835
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6836
* def mystorage = Java.type('storage.DataStorage')
2
6837
* def db = new mystorage
17
6838
* def db = db.setfeature(karate.info.featureFileName)
8
6839
* def separator = java.lang.System.getProperty("file.separator")
1
6840
* def outputpath = db.outputpath()
1
6841
* eval db.ensureDirectory(outputpath)
1
6842
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6843
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6844
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6845
Given path 'geonetwork/srv/dut/inspire'
0
6846
And param service = 'CSW'
0
6847
And param version = '2.0.2'
0
6848
And param request = 'GetRecordById'
0
6849
And param id = '18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79'
0
6850
And param elementsetname = 'full'
0
6851
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6852
When method get
1625
6853
Then status 200
0
6854
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79'
1
6855
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6856
* def title = get response //citation/CI_Citation/title/CharacterString
1
6857
* def email = get response //electronicMailAddress/CharacterString
1
6858
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6859
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6860
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6861
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6862
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6863
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6864
* print organisationpath
0
06:40:40.938 [print] Beheer PDOK
6865
* print operateson
0
06:40:40.938 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification
6866
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6867
* eval db.writeln('"18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6868
* eval db.writeln('"18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.203:18]e08079df-6c19-486e-916e-5c9948cfafea
ms: 1794
>>
Background:
6869
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6870
* def mystorage = Java.type('storage.DataStorage')
2
6871
* def db = new mystorage
17
6872
* def db = db.setfeature(karate.info.featureFileName)
8
6873
* def separator = java.lang.System.getProperty("file.separator")
1
6874
* def outputpath = db.outputpath()
1
6875
* eval db.ensureDirectory(outputpath)
1
6876
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6877
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6878
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6879
Given path 'geonetwork/srv/dut/inspire'
0
6880
And param service = 'CSW'
0
6881
And param version = '2.0.2'
0
6882
And param request = 'GetRecordById'
0
6883
And param id = 'e08079df-6c19-486e-916e-5c9948cfafea'
1
6884
And param elementsetname = 'full'
0
6885
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6886
When method get
1785
6887
Then status 200
0
6888
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e08079df-6c19-486e-916e-5c9948cfafea'
1
6889
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6890
* def title = get response //citation/CI_Citation/title/CharacterString
0
6891
* def email = get response //electronicMailAddress/CharacterString
1
6892
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6893
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6894
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6895
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6896
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6897
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6898
* print organisationpath
0
06:40:41.112 [print] Beheer PDOK
6899
* print operateson
0
06:40:41.112 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification
6900
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6901
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6902
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.204:18]4f4c7848-1767-4c67-be08-87d45d07f313
ms: 1730
>>
Background:
6903
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6904
* def mystorage = Java.type('storage.DataStorage')
2
6905
* def db = new mystorage
17
6906
* def db = db.setfeature(karate.info.featureFileName)
8
6907
* def separator = java.lang.System.getProperty("file.separator")
1
6908
* def outputpath = db.outputpath()
1
6909
* eval db.ensureDirectory(outputpath)
1
6910
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6911
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6912
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6913
Given path 'geonetwork/srv/dut/inspire'
1
6914
And param service = 'CSW'
0
6915
And param version = '2.0.2'
0
6916
And param request = 'GetRecordById'
0
6917
And param id = '4f4c7848-1767-4c67-be08-87d45d07f313'
0
6918
And param elementsetname = 'full'
0
6919
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6920
When method get
1702
6921
Then status 200
0
6922
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4f4c7848-1767-4c67-be08-87d45d07f313'
2
6923
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
6924
* def title = get response //citation/CI_Citation/title/CharacterString
2
6925
* def email = get response //electronicMailAddress/CharacterString
3
6926
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
6927
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6928
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6929
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
6930
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
6931
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
6932
* print organisationpath
0
06:40:41.200 [print] Beheer PDOK
6933
* print operateson
0
06:40:41.200 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification
6934
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
3
6935
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6936
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.205:18]8129296b-b9c1-489f-990a-df4a879e12b2
ms: 1751
>>
Background:
6937
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6938
* def mystorage = Java.type('storage.DataStorage')
2
6939
* def db = new mystorage
17
6940
* def db = db.setfeature(karate.info.featureFileName)
8
6941
* def separator = java.lang.System.getProperty("file.separator")
1
6942
* def outputpath = db.outputpath()
1
6943
* eval db.ensureDirectory(outputpath)
1
6944
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6945
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6946
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6947
Given path 'geonetwork/srv/dut/inspire'
0
6948
And param service = 'CSW'
0
6949
And param version = '2.0.2'
0
6950
And param request = 'GetRecordById'
0
6951
And param id = '8129296b-b9c1-489f-990a-df4a879e12b2'
0
6952
And param elementsetname = 'full'
0
6953
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6954
When method get
1744
6955
Then status 200
0
6956
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8129296b-b9c1-489f-990a-df4a879e12b2'
1
6957
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6958
* def title = get response //citation/CI_Citation/title/CharacterString
0
6959
* def email = get response //electronicMailAddress/CharacterString
0
6960
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6961
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6962
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6963
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6964
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6965
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6966
* print organisationpath
0
06:40:41.227 [print]
6967
* print operateson
0
06:40:41.227 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=12bb57cd-73e0-41ba-a1e9-6d986b9109d3&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6968
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6969
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6970
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.206:18]008d85d1-460d-46f6-9af4-98afdedbc4dc
ms: 1652
>>
Background:
6971
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
6972
* def mystorage = Java.type('storage.DataStorage')
2
6973
* def db = new mystorage
17
6974
* def db = db.setfeature(karate.info.featureFileName)
8
6975
* def separator = java.lang.System.getProperty("file.separator")
1
6976
* def outputpath = db.outputpath()
1
6977
* eval db.ensureDirectory(outputpath)
1
6978
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6979
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6980
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6981
Given path 'geonetwork/srv/dut/inspire'
4
6982
And param service = 'CSW'
0
6983
And param version = '2.0.2'
0
6984
And param request = 'GetRecordById'
0
6985
And param id = '008d85d1-460d-46f6-9af4-98afdedbc4dc'
0
6986
And param elementsetname = 'full'
0
6987
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6988
When method get
1641
6989
Then status 200
0
6990
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '008d85d1-460d-46f6-9af4-98afdedbc4dc'
2
6991
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6992
* def title = get response //citation/CI_Citation/title/CharacterString
0
6993
* def email = get response //electronicMailAddress/CharacterString
0
6994
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6995
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6996
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6997
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6998
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6999
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7000
* print organisationpath
0
06:40:41.234 [print] Beheer PDOK
7001
* print operateson
0
06:40:41.234 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
7002
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7003
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7004
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.207:18]171b28f6-7ee7-46f9-b3b3-06d0baaa33db
ms: 1720
>>
Background:
7005
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7006
* def mystorage = Java.type('storage.DataStorage')
2
7007
* def db = new mystorage
17
7008
* def db = db.setfeature(karate.info.featureFileName)
8
7009
* def separator = java.lang.System.getProperty("file.separator")
1
7010
* def outputpath = db.outputpath()
1
7011
* eval db.ensureDirectory(outputpath)
1
7012
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7013
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7014
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7015
Given path 'geonetwork/srv/dut/inspire'
0
7016
And param service = 'CSW'
0
7017
And param version = '2.0.2'
0
7018
And param request = 'GetRecordById'
0
7019
And param id = '171b28f6-7ee7-46f9-b3b3-06d0baaa33db'
1
7020
And param elementsetname = 'full'
0
7021
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7022
When method get
1711
7023
Then status 200
0
7024
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '171b28f6-7ee7-46f9-b3b3-06d0baaa33db'
1
7025
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7026
* def title = get response //citation/CI_Citation/title/CharacterString
0
7027
* def email = get response //electronicMailAddress/CharacterString
0
7028
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7029
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7030
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7031
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7032
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7033
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7034
* print organisationpath
0
06:40:41.320 [print] Beheer PDOK
7035
* print operateson
0
06:40:41.320 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
7036
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7037
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7038
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.208:18]f0c6fbfe-a172-4223-8af3-58f6a28c881d
ms: 1804
>>
Background:
7039
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7040
* def mystorage = Java.type('storage.DataStorage')
2
7041
* def db = new mystorage
17
7042
* def db = db.setfeature(karate.info.featureFileName)
8
7043
* def separator = java.lang.System.getProperty("file.separator")
1
7044
* def outputpath = db.outputpath()
1
7045
* eval db.ensureDirectory(outputpath)
1
7046
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7047
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7048
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7049
Given path 'geonetwork/srv/dut/inspire'
0
7050
And param service = 'CSW'
0
7051
And param version = '2.0.2'
0
7052
And param request = 'GetRecordById'
0
7053
And param id = 'f0c6fbfe-a172-4223-8af3-58f6a28c881d'
1
7054
And param elementsetname = 'full'
0
7055
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7056
When method get
1795
7057
Then status 200
0
7058
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0c6fbfe-a172-4223-8af3-58f6a28c881d'
1
7059
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7060
* def title = get response //citation/CI_Citation/title/CharacterString
0
7061
* def email = get response //electronicMailAddress/CharacterString
0
7062
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7063
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7064
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7065
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7066
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7067
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7068
* print organisationpath
0
06:40:41.413 [print]
7069
* print operateson
0
06:40:41.413 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=12bb57cd-73e0-41ba-a1e9-6d986b9109d3&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7070
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7071
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7072
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.209:18]wt-f297898-2640-44c2-bbe9-c0480df83794
ms: 1697
>>
Background:
7073
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7074
* def mystorage = Java.type('storage.DataStorage')
2
7075
* def db = new mystorage
17
7076
* def db = db.setfeature(karate.info.featureFileName)
8
7077
* def separator = java.lang.System.getProperty("file.separator")
1
7078
* def outputpath = db.outputpath()
1
7079
* eval db.ensureDirectory(outputpath)
1
7080
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7081
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7082
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7083
Given path 'geonetwork/srv/dut/inspire'
1
7084
And param service = 'CSW'
0
7085
And param version = '2.0.2'
0
7086
And param request = 'GetRecordById'
0
7087
And param id = 'wt-f297898-2640-44c2-bbe9-c0480df83794'
0
7088
And param elementsetname = 'full'
0
7089
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7090
When method get
1688
7091
Then status 200
0
7092
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480df83794'
1
7093
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7094
* def title = get response //citation/CI_Citation/title/CharacterString
1
7095
* def email = get response //electronicMailAddress/CharacterString
0
7096
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7097
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7098
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7099
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7100
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7101
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7102
* print organisationpath
0
06:40:41.388 [print] Rijkswaterstaat
7103
* print operateson
0
06:40:41.389 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
7104
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7105
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480df83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7106
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480df83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.210:18]tbjk534p-wubf-crbp-cj25-d41611f0gfim
ms: 1747
>>
Background:
7107
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7108
* def mystorage = Java.type('storage.DataStorage')
2
7109
* def db = new mystorage
17
7110
* def db = db.setfeature(karate.info.featureFileName)
8
7111
* def separator = java.lang.System.getProperty("file.separator")
1
7112
* def outputpath = db.outputpath()
1
7113
* eval db.ensureDirectory(outputpath)
1
7114
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7115
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7116
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7117
Given path 'geonetwork/srv/dut/inspire'
0
7118
And param service = 'CSW'
0
7119
And param version = '2.0.2'
0
7120
And param request = 'GetRecordById'
0
7121
And param id = 'tbjk534p-wubf-crbp-cj25-d41611f0gfim'
1
7122
And param elementsetname = 'full'
0
7123
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7124
When method get
1736
7125
Then status 200
0
7126
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611f0gfim'
1
7127
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7128
* def title = get response //citation/CI_Citation/title/CharacterString
1
7129
* def email = get response //electronicMailAddress/CharacterString
1
7130
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7131
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7132
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7133
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7134
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7135
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7136
* print organisationpath
0
06:40:41.556 [print] Rijkswaterstaat
7137
* print operateson
0
06:40:41.557 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=tbjk534p-wubf-crbp-cj25-d4161160gfim&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7138
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7139
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7140
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.211:18]8e7686c3-f75e-411f-866e-6985267b916b
ms: 2032
>>
Background:
7141
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7142
* def mystorage = Java.type('storage.DataStorage')
2
7143
* def db = new mystorage
17
7144
* def db = db.setfeature(karate.info.featureFileName)
8
7145
* def separator = java.lang.System.getProperty("file.separator")
1
7146
* def outputpath = db.outputpath()
1
7147
* eval db.ensureDirectory(outputpath)
1
7148
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7149
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7150
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7151
Given path 'geonetwork/srv/dut/inspire'
1
7152
And param service = 'CSW'
0
7153
And param version = '2.0.2'
0
7154
And param request = 'GetRecordById'
0
7155
And param id = '8e7686c3-f75e-411f-866e-6985267b916b'
1
7156
And param elementsetname = 'full'
0
7157
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7158
When method get
1914
7159
Then status 200
0
7160
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8e7686c3-f75e-411f-866e-6985267b916b'
18
7161
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
5
7162
* def title = get response //citation/CI_Citation/title/CharacterString
22
7163
* def email = get response //electronicMailAddress/CharacterString
25
7164
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
4
7165
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
18
7166
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
7167
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
4
7168
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
3
7169
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
4
7170
* print organisationpath
0
06:40:41.910 [print] Beheer PDOK
7171
* print operateson
0
06:40:41.910 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification
7172
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
5
7173
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7174
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.212:18]6d23a02b-5a8a-447e-a481-ddb2a085c1fa
ms: 1898
>>
Background:
7175
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7176
* def mystorage = Java.type('storage.DataStorage')
2
7177
* def db = new mystorage
17
7178
* def db = db.setfeature(karate.info.featureFileName)
8
7179
* def separator = java.lang.System.getProperty("file.separator")
1
7180
* def outputpath = db.outputpath()
1
7181
* eval db.ensureDirectory(outputpath)
1
7182
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7183
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7184
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7185
Given path 'geonetwork/srv/dut/inspire'
0
7186
And param service = 'CSW'
0
7187
And param version = '2.0.2'
0
7188
And param request = 'GetRecordById'
0
7189
And param id = '6d23a02b-5a8a-447e-a481-ddb2a085c1fa'
0
7190
And param elementsetname = 'full'
0
7191
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7192
When method get
1883
7193
Then status 200
0
7194
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d23a02b-5a8a-447e-a481-ddb2a085c1fa'
1
7195
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7196
* def title = get response //citation/CI_Citation/title/CharacterString
0
7197
* def email = get response //electronicMailAddress/CharacterString
0
7198
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7199
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7200
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7201
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7202
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7203
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7204
* print organisationpath
0
06:40:41.802 [print] Beheer PDOK
7205
* print operateson
0
06:40:41.802 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
7206
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7207
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
7
7208
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.213:18]6a129fd1-0988-4b8a-975a-6ff134b6754a
ms: 1690
>>
Background:
7209
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7210
* def mystorage = Java.type('storage.DataStorage')
2
7211
* def db = new mystorage
17
7212
* def db = db.setfeature(karate.info.featureFileName)
8
7213
* def separator = java.lang.System.getProperty("file.separator")
1
7214
* def outputpath = db.outputpath()
1
7215
* eval db.ensureDirectory(outputpath)
1
7216
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7217
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7218
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7219
Given path 'geonetwork/srv/dut/inspire'
0
7220
And param service = 'CSW'
0
7221
And param version = '2.0.2'
0
7222
And param request = 'GetRecordById'
0
7223
And param id = '6a129fd1-0988-4b8a-975a-6ff134b6754a'
0
7224
And param elementsetname = 'full'
0
7225
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7226
When method get
1683
7227
Then status 200
0
7228
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6a129fd1-0988-4b8a-975a-6ff134b6754a'
1
7229
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7230
* def title = get response //citation/CI_Citation/title/CharacterString
0
7231
* def email = get response //electronicMailAddress/CharacterString
0
7232
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7233
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7234
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7235
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7236
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7237
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7238
* print organisationpath
0
06:40:41.691 [print] Beheer PDOK
7239
* print operateson
0
06:40:41.691 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification
7240
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7241
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7242
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.214:18]tn-2c7040b-c448-451b-bf15-f2416efaadd1
ms: 1653
>>
Background:
7243
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7244
* def mystorage = Java.type('storage.DataStorage')
2
7245
* def db = new mystorage
17
7246
* def db = db.setfeature(karate.info.featureFileName)
8
7247
* def separator = java.lang.System.getProperty("file.separator")
1
7248
* def outputpath = db.outputpath()
1
7249
* eval db.ensureDirectory(outputpath)
1
7250
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7251
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7252
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7253
Given path 'geonetwork/srv/dut/inspire'
1
7254
And param service = 'CSW'
0
7255
And param version = '2.0.2'
0
7256
And param request = 'GetRecordById'
0
7257
And param id = 'tn-2c7040b-c448-451b-bf15-f2416efaadd1'
1
7258
And param elementsetname = 'full'
0
7259
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7260
When method get
1622
7261
Then status 200
0
7262
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416efaadd1'
3
7263
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7264
* def title = get response //citation/CI_Citation/title/CharacterString
1
7265
* def email = get response //electronicMailAddress/CharacterString
1
7266
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7267
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7268
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
5
7269
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
14
7270
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7271
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7272
* print organisationpath
0
06:40:41.855 [print] Rijkswaterstaat
7273
* print operateson
0
06:40:41.855 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
7274
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7275
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416efaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7276
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416efaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.215:18]d7a395a2-8673-4794-a5a6-fed6492cd580
ms: 1651
>>
Background:
7277
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7278
* def mystorage = Java.type('storage.DataStorage')
2
7279
* def db = new mystorage
17
7280
* def db = db.setfeature(karate.info.featureFileName)
8
7281
* def separator = java.lang.System.getProperty("file.separator")
1
7282
* def outputpath = db.outputpath()
1
7283
* eval db.ensureDirectory(outputpath)
1
7284
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7285
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7286
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7287
Given path 'geonetwork/srv/dut/inspire'
0
7288
And param service = 'CSW'
0
7289
And param version = '2.0.2'
0
7290
And param request = 'GetRecordById'
0
7291
And param id = 'd7a395a2-8673-4794-a5a6-fed6492cd580'
1
7292
And param elementsetname = 'full'
0
7293
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7294
When method get
1615
7295
Then status 200
0
7296
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7a395a2-8673-4794-a5a6-fed6492cd580'
1
7297
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7298
* def title = get response //citation/CI_Citation/title/CharacterString
0
7299
* def email = get response //electronicMailAddress/CharacterString
0
7300
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
5
7301
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7302
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7303
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7304
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7305
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7306
* print organisationpath
0
06:40:41.837 [print] Beheer PDOK
7307
* print operateson
0
06:40:41.837 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1be28290-55fa-4486-b9d3-b9d147117863#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7c24ea89-074e-4c4f-91e3-d38e813e9cb6#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9ed6b8ed-254a-4745-a09a-3b57137d1b69#MD_DataIdentification" ]
7308
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7309
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
13
7310
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
12
Scenario Outline: [1.216:18]88a93a3b-d522-4c5d-9b0f-c6c39a118442
ms: 1726
>>
Background:
7311
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7312
* def mystorage = Java.type('storage.DataStorage')
2
7313
* def db = new mystorage
17
7314
* def db = db.setfeature(karate.info.featureFileName)
8
7315
* def separator = java.lang.System.getProperty("file.separator")
1
7316
* def outputpath = db.outputpath()
1
7317
* eval db.ensureDirectory(outputpath)
1
7318
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7319
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7320
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7321
Given path 'geonetwork/srv/dut/inspire'
1
7322
And param service = 'CSW'
11
7323
And param version = '2.0.2'
0
7324
And param request = 'GetRecordById'
0
7325
And param id = '88a93a3b-d522-4c5d-9b0f-c6c39a118442'
1
7326
And param elementsetname = 'full'
0
7327
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7328
When method get
1700
7329
Then status 200
0
7330
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88a93a3b-d522-4c5d-9b0f-c6c39a118442'
1
7331
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7332
* def title = get response //citation/CI_Citation/title/CharacterString
0
7333
* def email = get response //electronicMailAddress/CharacterString
0
7334
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7335
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7336
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7337
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7338
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7339
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7340
* print organisationpath
0
06:40:42.080 [print] Beheer PDOK
7341
* print operateson
0
06:40:42.080 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification
7342
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7343
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7344
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.217:18]3ac5737f-55ed-455d-8350-44af11b67fc3
ms: 1670
>>
Background:
7345
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7346
* def mystorage = Java.type('storage.DataStorage')
2
7347
* def db = new mystorage
17
7348
* def db = db.setfeature(karate.info.featureFileName)
8
7349
* def separator = java.lang.System.getProperty("file.separator")
1
7350
* def outputpath = db.outputpath()
1
7351
* eval db.ensureDirectory(outputpath)
1
7352
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7353
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7354
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7355
Given path 'geonetwork/srv/dut/inspire'
0
7356
And param service = 'CSW'
0
7357
And param version = '2.0.2'
0
7358
And param request = 'GetRecordById'
0
7359
And param id = '3ac5737f-55ed-455d-8350-44af11b67fc3'
1
7360
And param elementsetname = 'full'
0
7361
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7362
When method get
1642
7363
Then status 200
0
7364
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ac5737f-55ed-455d-8350-44af11b67fc3'
3
7365
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7366
* def title = get response //citation/CI_Citation/title/CharacterString
0
7367
* def email = get response //electronicMailAddress/CharacterString
0
7368
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7369
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7370
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7371
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7372
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7373
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7374
* print organisationpath
7
06:40:42.023 [print] Beheer PDOK
7375
* print operateson
0
06:40:42.023 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification
7376
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7377
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7378
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.218:18]97a7d966-7261-49d4-bc08-c4900981f092
ms: 1721
>>
Background:
7379
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7380
* def mystorage = Java.type('storage.DataStorage')
2
7381
* def db = new mystorage
17
7382
* def db = db.setfeature(karate.info.featureFileName)
8
7383
* def separator = java.lang.System.getProperty("file.separator")
1
7384
* def outputpath = db.outputpath()
1
7385
* eval db.ensureDirectory(outputpath)
1
7386
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7387
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7388
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7389
Given path 'geonetwork/srv/dut/inspire'
0
7390
And param service = 'CSW'
0
7391
And param version = '2.0.2'
0
7392
And param request = 'GetRecordById'
0
7393
And param id = '97a7d966-7261-49d4-bc08-c4900981f092'
0
7394
And param elementsetname = 'full'
0
7395
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7396
When method get
1711
7397
Then status 200
0
7398
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97a7d966-7261-49d4-bc08-c4900981f092'
1
7399
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7400
* def title = get response //citation/CI_Citation/title/CharacterString
0
7401
* def email = get response //electronicMailAddress/CharacterString
0
7402
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7403
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7404
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7405
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7406
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7407
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7408
* print organisationpath
0
06:40:42.133 [print] Beheer PDOK
7409
* print operateson
0
06:40:42.133 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification
7410
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7411
* eval db.writeln('"97a7d966-7261-49d4-bc08-c4900981f092","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7412
* eval db.writeln('"97a7d966-7261-49d4-bc08-c4900981f092","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.219:18]wt-f5eb-b09f-4f6d-8397-8878a1f86238
ms: 1923
>>
Background:
7413
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7414
* def mystorage = Java.type('storage.DataStorage')
2
7415
* def db = new mystorage
17
7416
* def db = db.setfeature(karate.info.featureFileName)
8
7417
* def separator = java.lang.System.getProperty("file.separator")
1
7418
* def outputpath = db.outputpath()
1
7419
* eval db.ensureDirectory(outputpath)
1
7420
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7421
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7422
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7423
Given path 'geonetwork/srv/dut/inspire'
0
7424
And param service = 'CSW'
0
7425
And param version = '2.0.2'
0
7426
And param request = 'GetRecordById'
0
7427
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1f86238'
0
7428
And param elementsetname = 'full'
0
7429
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7430
When method get
1914
7431
Then status 200
0
7432
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1f86238'
1
7433
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7434
* def title = get response //citation/CI_Citation/title/CharacterString
0
7435
* def email = get response //electronicMailAddress/CharacterString
0
7436
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7437
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7438
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7439
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7440
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7441
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7442
* print organisationpath
0
06:40:42.358 [print] Rijkswaterstaat
7443
* print operateson
0
06:40:42.358 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
7444
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7445
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1f86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7446
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1f86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.220:18]ebd6ea46-ee7b-432f-83c4-058c889a790d
ms: 1855
>>
Background:
7447
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7448
* def mystorage = Java.type('storage.DataStorage')
2
7449
* def db = new mystorage
17
7450
* def db = db.setfeature(karate.info.featureFileName)
8
7451
* def separator = java.lang.System.getProperty("file.separator")
1
7452
* def outputpath = db.outputpath()
1
7453
* eval db.ensureDirectory(outputpath)
1
7454
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7455
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7456
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7457
Given path 'geonetwork/srv/dut/inspire'
0
7458
And param service = 'CSW'
0
7459
And param version = '2.0.2'
0
7460
And param request = 'GetRecordById'
0
7461
And param id = 'ebd6ea46-ee7b-432f-83c4-058c889a790d'
0
7462
And param elementsetname = 'full'
0
7463
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7464
When method get
1846
7465
Then status 200
0
7466
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ebd6ea46-ee7b-432f-83c4-058c889a790d'
1
7467
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7468
* def title = get response //citation/CI_Citation/title/CharacterString
0
7469
* def email = get response //electronicMailAddress/CharacterString
1
7470
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7471
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7472
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7473
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7474
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7475
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7476
* print organisationpath
0
06:40:42.374 [print] Interprovinciaal Overleg
7477
* print operateson
0
06:40:42.374 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
7478
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7479
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7480
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.221:18]a2fdecfc-de33-4ce3-b935-4c9ac18c5a36
ms: 1833
>>
Background:
7481
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7482
* def mystorage = Java.type('storage.DataStorage')
2
7483
* def db = new mystorage
17
7484
* def db = db.setfeature(karate.info.featureFileName)
8
7485
* def separator = java.lang.System.getProperty("file.separator")
1
7486
* def outputpath = db.outputpath()
1
7487
* eval db.ensureDirectory(outputpath)
1
7488
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7489
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7490
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7491
Given path 'geonetwork/srv/dut/inspire'
0
7492
And param service = 'CSW'
0
7493
And param version = '2.0.2'
0
7494
And param request = 'GetRecordById'
0
7495
And param id = 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36'
0
7496
And param elementsetname = 'full'
0
7497
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7498
When method get
1815
7499
Then status 200
0
7500
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36'
1
7501
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7502
* def title = get response //citation/CI_Citation/title/CharacterString
1
7503
* def email = get response //electronicMailAddress/CharacterString
1
7504
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7505
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7506
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7507
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7508
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7509
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7510
* print organisationpath
5
06:40:42.438 [print] Beheer PDOK
7511
* print operateson
0
06:40:42.439 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification
7512
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7513
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7514
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.222:18]30f65c89-2246-49f8-8b50-0f1140d6f2aa
ms: 1787
>>
Background:
7515
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7516
* def mystorage = Java.type('storage.DataStorage')
2
7517
* def db = new mystorage
17
7518
* def db = db.setfeature(karate.info.featureFileName)
8
7519
* def separator = java.lang.System.getProperty("file.separator")
1
7520
* def outputpath = db.outputpath()
1
7521
* eval db.ensureDirectory(outputpath)
1
7522
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7523
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7524
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7525
Given path 'geonetwork/srv/dut/inspire'
0
7526
And param service = 'CSW'
0
7527
And param version = '2.0.2'
0
7528
And param request = 'GetRecordById'
0
7529
And param id = '30f65c89-2246-49f8-8b50-0f1140d6f2aa'
1
7530
And param elementsetname = 'full'
0
7531
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7532
When method get
1778
7533
Then status 200
0
7534
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '30f65c89-2246-49f8-8b50-0f1140d6f2aa'
1
7535
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7536
* def title = get response //citation/CI_Citation/title/CharacterString
0
7537
* def email = get response //electronicMailAddress/CharacterString
0
7538
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7539
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7540
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7541
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7542
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7543
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7544
* print organisationpath
0
06:40:42.507 [print] Beheer PDOK
7545
* print operateson
0
06:40:42.507 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification
7546
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7547
* eval db.writeln('"30f65c89-2246-49f8-8b50-0f1140d6f2aa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7548
* eval db.writeln('"30f65c89-2246-49f8-8b50-0f1140d6f2aa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.223:18]ac3a9efe-2154-4a4c-aae3-ea269044945d
ms: 1755
>>
Background:
7549
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7550
* def mystorage = Java.type('storage.DataStorage')
2
7551
* def db = new mystorage
17
7552
* def db = db.setfeature(karate.info.featureFileName)
8
7553
* def separator = java.lang.System.getProperty("file.separator")
1
7554
* def outputpath = db.outputpath()
1
7555
* eval db.ensureDirectory(outputpath)
1
7556
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7557
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7558
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7559
Given path 'geonetwork/srv/dut/inspire'
0
7560
And param service = 'CSW'
0
7561
And param version = '2.0.2'
0
7562
And param request = 'GetRecordById'
0
7563
And param id = 'ac3a9efe-2154-4a4c-aae3-ea269044945d'
0
7564
And param elementsetname = 'full'
0
7565
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7566
When method get
1747
7567
Then status 200
0
7568
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ac3a9efe-2154-4a4c-aae3-ea269044945d'
1
7569
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7570
* def title = get response //citation/CI_Citation/title/CharacterString
0
7571
* def email = get response //electronicMailAddress/CharacterString
0
7572
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7573
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7574
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7575
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7576
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7577
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7578
* print organisationpath
0
06:40:42.591 [print]
7579
* print operateson
0
06:40:42.591 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification
7580
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7581
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7582
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.224:18]2b9da196-422e-4b0e-a5ba-ba41ade308e9
ms: 1936
>>
Background:
7583
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7584
* def mystorage = Java.type('storage.DataStorage')
2
7585
* def db = new mystorage
17
7586
* def db = db.setfeature(karate.info.featureFileName)
8
7587
* def separator = java.lang.System.getProperty("file.separator")
1
7588
* def outputpath = db.outputpath()
1
7589
* eval db.ensureDirectory(outputpath)
1
7590
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7591
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7592
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7593
Given path 'geonetwork/srv/dut/inspire'
0
7594
And param service = 'CSW'
0
7595
And param version = '2.0.2'
0
7596
And param request = 'GetRecordById'
0
7597
And param id = '2b9da196-422e-4b0e-a5ba-ba41ade308e9'
0
7598
And param elementsetname = 'full'
0
7599
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7600
When method get
1916
7601
Then status 200
0
7602
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2b9da196-422e-4b0e-a5ba-ba41ade308e9'
2
7603
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
7604
* def title = get response //citation/CI_Citation/title/CharacterString
1
7605
* def email = get response //electronicMailAddress/CharacterString
1
7606
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7607
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7608
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7609
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7610
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7611
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7612
* print organisationpath
0
06:40:42.805 [print] Beheer PDOK
7613
* print operateson
0
06:40:42.805 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
7614
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
7615
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7616
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.225:18]fff9d7cf-9929-4dde-98b8-06ceda7e5610
ms: 1941
>>
Background:
7617
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7618
* def mystorage = Java.type('storage.DataStorage')
2
7619
* def db = new mystorage
17
7620
* def db = db.setfeature(karate.info.featureFileName)
8
7621
* def separator = java.lang.System.getProperty("file.separator")
1
7622
* def outputpath = db.outputpath()
1
7623
* eval db.ensureDirectory(outputpath)
1
7624
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7625
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7626
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7627
Given path 'geonetwork/srv/dut/inspire'
0
7628
And param service = 'CSW'
0
7629
And param version = '2.0.2'
0
7630
And param request = 'GetRecordById'
0
7631
And param id = 'fff9d7cf-9929-4dde-98b8-06ceda7e5610'
0
7632
And param elementsetname = 'full'
0
7633
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7634
When method get
1933
7635
Then status 200
0
7636
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fff9d7cf-9929-4dde-98b8-06ceda7e5610'
1
7637
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7638
* def title = get response //citation/CI_Citation/title/CharacterString
0
7639
* def email = get response //electronicMailAddress/CharacterString
1
7640
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7641
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7642
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7643
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7644
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7645
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7646
* print organisationpath
0
06:40:42.840 [print] Beheer PDOK
7647
* print operateson
0
06:40:42.840 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7939fd42-cf88-42c5-ab3b-232cf232a3ac#MD_DataIdentification
7648
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7649
* eval db.writeln('"fff9d7cf-9929-4dde-98b8-06ceda7e5610","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7650
* eval db.writeln('"fff9d7cf-9929-4dde-98b8-06ceda7e5610","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.226:18]c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f
ms: 1874
>>
Background:
7651
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7652
* def mystorage = Java.type('storage.DataStorage')
2
7653
* def db = new mystorage
17
7654
* def db = db.setfeature(karate.info.featureFileName)
8
7655
* def separator = java.lang.System.getProperty("file.separator")
1
7656
* def outputpath = db.outputpath()
1
7657
* eval db.ensureDirectory(outputpath)
1
7658
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7659
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7660
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7661
Given path 'geonetwork/srv/dut/inspire'
0
7662
And param service = 'CSW'
0
7663
And param version = '2.0.2'
0
7664
And param request = 'GetRecordById'
0
7665
And param id = 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f'
0
7666
And param elementsetname = 'full'
0
7667
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7668
When method get
1865
7669
Then status 200
0
7670
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f'
1
7671
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7672
* def title = get response //citation/CI_Citation/title/CharacterString
0
7673
* def email = get response //electronicMailAddress/CharacterString
0
7674
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7675
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7676
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7677
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7678
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7679
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7680
* print organisationpath
0
06:40:42.812 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
7681
* print operateson
0
06:40:42.812 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification
7682
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7683
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7684
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.227:18]d467c2cc-4026-b80a-d4e1a9d2bf79
ms: 1826
>>
Background:
7685
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7686
* def mystorage = Java.type('storage.DataStorage')
2
7687
* def db = new mystorage
17
7688
* def db = db.setfeature(karate.info.featureFileName)
8
7689
* def separator = java.lang.System.getProperty("file.separator")
1
7690
* def outputpath = db.outputpath()
1
7691
* eval db.ensureDirectory(outputpath)
1
7692
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7693
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7694
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7695
Given path 'geonetwork/srv/dut/inspire'
0
7696
And param service = 'CSW'
0
7697
And param version = '2.0.2'
0
7698
And param request = 'GetRecordById'
0
7699
And param id = 'd467c2cc-4026-b80a-d4e1a9d2bf79'
0
7700
And param elementsetname = 'full'
0
7701
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7702
When method get
1817
7703
Then status 200
0
7704
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd467c2cc-4026-b80a-d4e1a9d2bf79'
1
7705
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7706
* def title = get response //citation/CI_Citation/title/CharacterString
0
7707
* def email = get response //electronicMailAddress/CharacterString
0
7708
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7709
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7710
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7711
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7712
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7713
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7714
* print organisationpath
0
06:40:42.939 [print] Beheer PDOK
7715
* print operateson
0
06:40:42.939 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
7716
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7717
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7718
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.228:18]49ff0584-a173-4098-824c-119edf8447f7
ms: 1825
>>
Background:
7719
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7720
* def mystorage = Java.type('storage.DataStorage')
2
7721
* def db = new mystorage
17
7722
* def db = db.setfeature(karate.info.featureFileName)
8
7723
* def separator = java.lang.System.getProperty("file.separator")
1
7724
* def outputpath = db.outputpath()
1
7725
* eval db.ensureDirectory(outputpath)
1
7726
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7727
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7728
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7729
Given path 'geonetwork/srv/dut/inspire'
0
7730
And param service = 'CSW'
0
7731
And param version = '2.0.2'
0
7732
And param request = 'GetRecordById'
0
7733
And param id = '49ff0584-a173-4098-824c-119edf8447f7'
0
7734
And param elementsetname = 'full'
0
7735
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7736
When method get
1815
7737
Then status 200
0
7738
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49ff0584-a173-4098-824c-119edf8447f7'
1
7739
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7740
* def title = get response //citation/CI_Citation/title/CharacterString
0
7741
* def email = get response //electronicMailAddress/CharacterString
1
7742
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7743
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7744
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7745
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7746
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7747
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7748
* print organisationpath
0
06:40:43.028 [print] Rijksdienst voor het Cultureel Erfgoed
7749
* print operateson
0
06:40:43.029 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=6f84efeb-fc1d-4565-a721-80735ea57dbd&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=dfe5b146-354f-4bc7-99b1-6713817afac9&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88a3c1ae-902e-4efa-8663-ddd836101929&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
7750
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7751
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7752
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.229:18]578f993f-4d0b-4c4a-a08b-dfa9e1d1376e
ms: 1796
>>
Background:
7753
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7754
* def mystorage = Java.type('storage.DataStorage')
2
7755
* def db = new mystorage
17
7756
* def db = db.setfeature(karate.info.featureFileName)
8
7757
* def separator = java.lang.System.getProperty("file.separator")
1
7758
* def outputpath = db.outputpath()
1
7759
* eval db.ensureDirectory(outputpath)
1
7760
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7761
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7762
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7763
Given path 'geonetwork/srv/dut/inspire'
0
7764
And param service = 'CSW'
0
7765
And param version = '2.0.2'
0
7766
And param request = 'GetRecordById'
0
7767
And param id = '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e'
0
7768
And param elementsetname = 'full'
0
7769
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7770
When method get
1787
7771
Then status 200
0
7772
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e'
1
7773
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7774
* def title = get response //citation/CI_Citation/title/CharacterString
0
7775
* def email = get response //electronicMailAddress/CharacterString
0
7776
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7777
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7778
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7779
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7780
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7781
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7782
* print organisationpath
0
06:40:43.023 [print] Beheer PDOK
7783
* print operateson
0
06:40:43.023 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification
7784
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7785
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7786
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.230:18]7e450110-f643-4b73-9262-4f13966cffc6
ms: 1906
>>
Background:
7787
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7788
* def mystorage = Java.type('storage.DataStorage')
2
7789
* def db = new mystorage
17
7790
* def db = db.setfeature(karate.info.featureFileName)
8
7791
* def separator = java.lang.System.getProperty("file.separator")
1
7792
* def outputpath = db.outputpath()
1
7793
* eval db.ensureDirectory(outputpath)
1
7794
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7795
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7796
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7797
Given path 'geonetwork/srv/dut/inspire'
0
7798
And param service = 'CSW'
0
7799
And param version = '2.0.2'
0
7800
And param request = 'GetRecordById'
0
7801
And param id = '7e450110-f643-4b73-9262-4f13966cffc6'
0
7802
And param elementsetname = 'full'
0
7803
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7804
When method get
1890
7805
Then status 200
0
7806
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7e450110-f643-4b73-9262-4f13966cffc6'
1
7807
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7808
* def title = get response //citation/CI_Citation/title/CharacterString
0
7809
* def email = get response //electronicMailAddress/CharacterString
0
7810
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7811
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7812
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7813
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7814
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7815
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7816
* print organisationpath
0
06:40:43.132 [print] Beheer PDOK
7817
* print operateson
0
06:40:43.132 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw2006-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw2006-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification" ]
7818
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7819
* eval db.writeln('"7e450110-f643-4b73-9262-4f13966cffc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7820
* eval db.writeln('"7e450110-f643-4b73-9262-4f13966cffc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.231:18]1b9259fc-dc35-11e3-961c-901b0e19e163
ms: 1833
>>
Background:
7821
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7822
* def mystorage = Java.type('storage.DataStorage')
2
7823
* def db = new mystorage
17
7824
* def db = db.setfeature(karate.info.featureFileName)
8
7825
* def separator = java.lang.System.getProperty("file.separator")
1
7826
* def outputpath = db.outputpath()
1
7827
* eval db.ensureDirectory(outputpath)
1
7828
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7829
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7830
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7831
Given path 'geonetwork/srv/dut/inspire'
0
7832
And param service = 'CSW'
0
7833
And param version = '2.0.2'
0
7834
And param request = 'GetRecordById'
0
7835
And param id = '1b9259fc-dc35-11e3-961c-901b0e19e163'
0
7836
And param elementsetname = 'full'
0
7837
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7838
When method get
1822
7839
Then status 200
0
7840
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1b9259fc-dc35-11e3-961c-901b0e19e163'
1
7841
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7842
* def title = get response //citation/CI_Citation/title/CharacterString
1
7843
* def email = get response //electronicMailAddress/CharacterString
1
7844
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7845
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7846
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7847
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7848
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7849
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7850
* print organisationpath
0
06:40:43.153 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
7851
* print operateson
0
06:40:43.153 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=64c987ec-dce6-11e3-8563-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
7852
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7853
* eval db.writeln('"1b9259fc-dc35-11e3-961c-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7854
* eval db.writeln('"1b9259fc-dc35-11e3-961c-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.232:18]ddf33bff-8de3-4cca-b6f5-24d18daa502f
ms: 1891
>>
Background:
7855
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7856
* def mystorage = Java.type('storage.DataStorage')
2
7857
* def db = new mystorage
17
7858
* def db = db.setfeature(karate.info.featureFileName)
8
7859
* def separator = java.lang.System.getProperty("file.separator")
1
7860
* def outputpath = db.outputpath()
1
7861
* eval db.ensureDirectory(outputpath)
1
7862
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7863
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7864
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7865
Given path 'geonetwork/srv/dut/inspire'
0
7866
And param service = 'CSW'
0
7867
And param version = '2.0.2'
0
7868
And param request = 'GetRecordById'
0
7869
And param id = 'ddf33bff-8de3-4cca-b6f5-24d18daa502f'
0
7870
And param elementsetname = 'full'
0
7871
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7872
When method get
1883
7873
Then status 200
0
7874
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ddf33bff-8de3-4cca-b6f5-24d18daa502f'
1
7875
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7876
* def title = get response //citation/CI_Citation/title/CharacterString
0
7877
* def email = get response //electronicMailAddress/CharacterString
0
7878
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7879
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7880
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7881
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7882
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7883
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7884
* print organisationpath
0
06:40:43.280 [print] Beheer PDOK
7885
* print operateson
0
06:40:43.280 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification" ]
7886
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7887
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7888
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.233:18]wt-83730-e750-485a-9c0c-39bf9bt72cf8
ms: 1907
>>
Background:
7889
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7890
* def mystorage = Java.type('storage.DataStorage')
2
7891
* def db = new mystorage
17
7892
* def db = db.setfeature(karate.info.featureFileName)
8
7893
* def separator = java.lang.System.getProperty("file.separator")
1
7894
* def outputpath = db.outputpath()
1
7895
* eval db.ensureDirectory(outputpath)
1
7896
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7897
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7898
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7899
Given path 'geonetwork/srv/dut/inspire'
0
7900
And param service = 'CSW'
0
7901
And param version = '2.0.2'
0
7902
And param request = 'GetRecordById'
0
7903
And param id = 'wt-83730-e750-485a-9c0c-39bf9bt72cf8'
0
7904
And param elementsetname = 'full'
0
7905
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7906
When method get
1893
7907
Then status 200
0
7908
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bt72cf8'
1
7909
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7910
* def title = get response //citation/CI_Citation/title/CharacterString
0
7911
* def email = get response //electronicMailAddress/CharacterString
0
7912
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7913
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7914
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7915
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7916
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7917
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7918
* print organisationpath
0
06:40:43.316 [print] Rijkswaterstaat
7919
* print operateson
0
06:40:43.316 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification
7920
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7921
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7922
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.234:18]wt-f5eb-b09f-4f6d-8397-8878a1t86238
ms: 1826
>>
Background:
7923
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7924
* def mystorage = Java.type('storage.DataStorage')
2
7925
* def db = new mystorage
17
7926
* def db = db.setfeature(karate.info.featureFileName)
8
7927
* def separator = java.lang.System.getProperty("file.separator")
1
7928
* def outputpath = db.outputpath()
1
7929
* eval db.ensureDirectory(outputpath)
1
7930
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7931
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7932
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7933
Given path 'geonetwork/srv/dut/inspire'
0
7934
And param service = 'CSW'
0
7935
And param version = '2.0.2'
0
7936
And param request = 'GetRecordById'
0
7937
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1t86238'
0
7938
And param elementsetname = 'full'
0
7939
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7940
When method get
1817
7941
Then status 200
0
7942
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1t86238'
1
7943
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7944
* def title = get response //citation/CI_Citation/title/CharacterString
0
7945
* def email = get response //electronicMailAddress/CharacterString
0
7946
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7947
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7948
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7949
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7950
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7951
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7952
* print organisationpath
0
06:40:43.382 [print] Rijkswaterstaat
7953
* print operateson
0
06:40:43.382 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
7954
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7955
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1t86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7956
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1t86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.235:18]wt-3730-e750-485a-9c0c-39bf9bt72cf9
ms: 1702
>>
Background:
7957
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7958
* def mystorage = Java.type('storage.DataStorage')
2
7959
* def db = new mystorage
17
7960
* def db = db.setfeature(karate.info.featureFileName)
8
7961
* def separator = java.lang.System.getProperty("file.separator")
1
7962
* def outputpath = db.outputpath()
1
7963
* eval db.ensureDirectory(outputpath)
1
7964
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7965
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7966
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7967
Given path 'geonetwork/srv/dut/inspire'
0
7968
And param service = 'CSW'
0
7969
And param version = '2.0.2'
0
7970
And param request = 'GetRecordById'
0
7971
And param id = 'wt-3730-e750-485a-9c0c-39bf9bt72cf9'
0
7972
And param elementsetname = 'full'
0
7973
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7974
When method get
1692
7975
Then status 200
0
7976
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bt72cf9'
1
7977
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7978
* def title = get response //citation/CI_Citation/title/CharacterString
0
7979
* def email = get response //electronicMailAddress/CharacterString
0
7980
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7981
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7982
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7983
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7984
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7985
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7986
* print organisationpath
0
06:40:43.393 [print] Rijkswaterstaat
7987
* print operateson
0
06:40:43.393 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
7988
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7989
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bt72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7990
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bt72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.236:18]f5660ac6-8031-4acc-832c-1d1b82b062ba
ms: 1705
>>
Background:
7991
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
7992
* def mystorage = Java.type('storage.DataStorage')
2
7993
* def db = new mystorage
17
7994
* def db = db.setfeature(karate.info.featureFileName)
8
7995
* def separator = java.lang.System.getProperty("file.separator")
1
7996
* def outputpath = db.outputpath()
1
7997
* eval db.ensureDirectory(outputpath)
1
7998
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7999
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8000
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8001
Given path 'geonetwork/srv/dut/inspire'
3
8002
And param service = 'CSW'
0
8003
And param version = '2.0.2'
0
8004
And param request = 'GetRecordById'
0
8005
And param id = 'f5660ac6-8031-4acc-832c-1d1b82b062ba'
0
8006
And param elementsetname = 'full'
0
8007
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8008
When method get
1689
8009
Then status 200
0
8010
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f5660ac6-8031-4acc-832c-1d1b82b062ba'
1
8011
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8012
* def title = get response //citation/CI_Citation/title/CharacterString
0
8013
* def email = get response //electronicMailAddress/CharacterString
0
8014
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8015
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8016
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
5
8017
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8018
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8019
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8020
* print organisationpath
0
06:40:43.522 [print] TNO Geologische Dienst Nederland
8021
* print operateson
0
06:40:43.522 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8022
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8023
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8024
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.237:18]0898d4a9-8fe6-46e9-8855-1242d8028970
ms: 1884
>>
Background:
8025
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8026
* def mystorage = Java.type('storage.DataStorage')
2
8027
* def db = new mystorage
17
8028
* def db = db.setfeature(karate.info.featureFileName)
8
8029
* def separator = java.lang.System.getProperty("file.separator")
1
8030
* def outputpath = db.outputpath()
1
8031
* eval db.ensureDirectory(outputpath)
1
8032
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8033
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8034
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8035
Given path 'geonetwork/srv/dut/inspire'
7
8036
And param service = 'CSW'
0
8037
And param version = '2.0.2'
0
8038
And param request = 'GetRecordById'
0
8039
And param id = '0898d4a9-8fe6-46e9-8855-1242d8028970'
0
8040
And param elementsetname = 'full'
0
8041
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8042
When method get
1871
8043
Then status 200
0
8044
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0898d4a9-8fe6-46e9-8855-1242d8028970'
1
8045
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8046
* def title = get response //citation/CI_Citation/title/CharacterString
0
8047
* def email = get response //electronicMailAddress/CharacterString
0
8048
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8049
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8050
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8051
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8052
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8053
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8054
* print organisationpath
0
06:40:43.740 [print]
8055
* print operateson
0
06:40:43.740 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ror-9d8e-4758-83fx-28b057f185f1#MD_DataIdentification
8056
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8057
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8058
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.238:18]224d93f6-0e4e-41fe-8424-1ab11a6c55ed
ms: 1848
>>
Background:
8059
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8060
* def mystorage = Java.type('storage.DataStorage')
2
8061
* def db = new mystorage
17
8062
* def db = db.setfeature(karate.info.featureFileName)
8
8063
* def separator = java.lang.System.getProperty("file.separator")
1
8064
* def outputpath = db.outputpath()
1
8065
* eval db.ensureDirectory(outputpath)
1
8066
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8067
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8068
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8069
Given path 'geonetwork/srv/dut/inspire'
0
8070
And param service = 'CSW'
0
8071
And param version = '2.0.2'
0
8072
And param request = 'GetRecordById'
0
8073
And param id = '224d93f6-0e4e-41fe-8424-1ab11a6c55ed'
0
8074
And param elementsetname = 'full'
0
8075
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8076
When method get
1840
8077
Then status 200
0
8078
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '224d93f6-0e4e-41fe-8424-1ab11a6c55ed'
1
8079
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8080
* def title = get response //citation/CI_Citation/title/CharacterString
0
8081
* def email = get response //electronicMailAddress/CharacterString
0
8082
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8083
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8084
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8085
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8086
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8087
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8088
* print organisationpath
0
06:40:43.709 [print]
8089
* print operateson
0
06:40:43.709 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification
8090
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8091
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8092
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.239:18]9fd2324b-9e02-4eab-bd4a-8e2be4fcd545
ms: 1806
>>
Background:
8093
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8094
* def mystorage = Java.type('storage.DataStorage')
2
8095
* def db = new mystorage
17
8096
* def db = db.setfeature(karate.info.featureFileName)
8
8097
* def separator = java.lang.System.getProperty("file.separator")
1
8098
* def outputpath = db.outputpath()
1
8099
* eval db.ensureDirectory(outputpath)
1
8100
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8101
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8102
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8103
Given path 'geonetwork/srv/dut/inspire'
1
8104
And param service = 'CSW'
0
8105
And param version = '2.0.2'
0
8106
And param request = 'GetRecordById'
0
8107
And param id = '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545'
1
8108
And param elementsetname = 'full'
0
8109
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8110
When method get
1798
8111
Then status 200
0
8112
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545'
1
8113
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8114
* def title = get response //citation/CI_Citation/title/CharacterString
0
8115
* def email = get response //electronicMailAddress/CharacterString
0
8116
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8117
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8118
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8119
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8120
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8121
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8122
* print organisationpath
0
06:40:43.722 [print]
8123
* print operateson
0
06:40:43.722 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification
8124
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8125
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8126
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.240:18]ff8f6da2-949e-4838-90f6-fd895a4a240f
ms: 1982
>>
Background:
8127
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8128
* def mystorage = Java.type('storage.DataStorage')
2
8129
* def db = new mystorage
17
8130
* def db = db.setfeature(karate.info.featureFileName)
8
8131
* def separator = java.lang.System.getProperty("file.separator")
1
8132
* def outputpath = db.outputpath()
1
8133
* eval db.ensureDirectory(outputpath)
1
8134
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8135
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8136
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8137
Given path 'geonetwork/srv/dut/inspire'
1
8138
And param service = 'CSW'
0
8139
And param version = '2.0.2'
0
8140
And param request = 'GetRecordById'
0
8141
And param id = 'ff8f6da2-949e-4838-90f6-fd895a4a240f'
0
8142
And param elementsetname = 'full'
0
8143
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8144
When method get
1972
8145
Then status 200
0
8146
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff8f6da2-949e-4838-90f6-fd895a4a240f'
1
8147
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8148
* def title = get response //citation/CI_Citation/title/CharacterString
1
8149
* def email = get response //electronicMailAddress/CharacterString
1
8150
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8151
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8152
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8153
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8154
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8155
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8156
* print organisationpath
0
06:40:44.015 [print]
8157
* print operateson
0
06:40:44.015 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification
8158
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8159
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8160
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.241:18]d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507
ms: 1740
>>
Background:
8161
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8162
* def mystorage = Java.type('storage.DataStorage')
2
8163
* def db = new mystorage
17
8164
* def db = db.setfeature(karate.info.featureFileName)
8
8165
* def separator = java.lang.System.getProperty("file.separator")
1
8166
* def outputpath = db.outputpath()
1
8167
* eval db.ensureDirectory(outputpath)
1
8168
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8169
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8170
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8171
Given path 'geonetwork/srv/dut/inspire'
0
8172
And param service = 'CSW'
0
8173
And param version = '2.0.2'
0
8174
And param request = 'GetRecordById'
0
8175
And param id = 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507'
0
8176
And param elementsetname = 'full'
0
8177
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8178
When method get
1731
8179
Then status 200
0
8180
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507'
1
8181
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8182
* def title = get response //citation/CI_Citation/title/CharacterString
0
8183
* def email = get response //electronicMailAddress/CharacterString
0
8184
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8185
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8186
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8187
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8188
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8189
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8190
* print organisationpath
0
06:40:43.827 [print] Beheer PDOK
8191
* print operateson
0
06:40:43.827 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification
8192
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8193
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8194
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.242:18]243c6401-9ed1-4cdd-b9a7-caff08813ce4
ms: 1868
>>
Background:
8195
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8196
* def mystorage = Java.type('storage.DataStorage')
2
8197
* def db = new mystorage
17
8198
* def db = db.setfeature(karate.info.featureFileName)
8
8199
* def separator = java.lang.System.getProperty("file.separator")
1
8200
* def outputpath = db.outputpath()
1
8201
* eval db.ensureDirectory(outputpath)
1
8202
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8203
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8204
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8205
Given path 'geonetwork/srv/dut/inspire'
0
8206
And param service = 'CSW'
0
8207
And param version = '2.0.2'
0
8208
And param request = 'GetRecordById'
0
8209
And param id = '243c6401-9ed1-4cdd-b9a7-caff08813ce4'
0
8210
And param elementsetname = 'full'
0
8211
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8212
When method get
1857
8213
Then status 200
0
8214
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '243c6401-9ed1-4cdd-b9a7-caff08813ce4'
3
8215
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8216
* def title = get response //citation/CI_Citation/title/CharacterString
1
8217
* def email = get response //electronicMailAddress/CharacterString
0
8218
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8219
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8220
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8221
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8222
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8223
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8224
* print organisationpath
0
06:40:44.003 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
8225
* print operateson
0
06:40:44.003 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification
8226
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8227
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8228
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.243:18]b4485d59-a945-4940-a2f5-3ce7de6a947b
ms: 1843
>>
Background:
8229
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8230
* def mystorage = Java.type('storage.DataStorage')
2
8231
* def db = new mystorage
17
8232
* def db = db.setfeature(karate.info.featureFileName)
8
8233
* def separator = java.lang.System.getProperty("file.separator")
1
8234
* def outputpath = db.outputpath()
1
8235
* eval db.ensureDirectory(outputpath)
1
8236
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8237
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8238
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8239
Given path 'geonetwork/srv/dut/inspire'
0
8240
And param service = 'CSW'
0
8241
And param version = '2.0.2'
0
8242
And param request = 'GetRecordById'
0
8243
And param id = 'b4485d59-a945-4940-a2f5-3ce7de6a947b'
0
8244
And param elementsetname = 'full'
0
8245
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8246
When method get
1832
8247
Then status 200
0
8248
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4485d59-a945-4940-a2f5-3ce7de6a947b'
1
8249
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8250
* def title = get response //citation/CI_Citation/title/CharacterString
1
8251
* def email = get response //electronicMailAddress/CharacterString
1
8252
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8253
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8254
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8255
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8256
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8257
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8258
* print organisationpath
0
06:40:44.201 [print]
8259
* print operateson
0
06:40:44.201 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification
8260
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8261
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8262
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.244:18]5255c080-5f4e-4f7a-8a2c-6ac9d0103288
ms: 1800
>>
Background:
8263
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8264
* def mystorage = Java.type('storage.DataStorage')
2
8265
* def db = new mystorage
17
8266
* def db = db.setfeature(karate.info.featureFileName)
8
8267
* def separator = java.lang.System.getProperty("file.separator")
1
8268
* def outputpath = db.outputpath()
1
8269
* eval db.ensureDirectory(outputpath)
1
8270
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8271
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8272
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8273
Given path 'geonetwork/srv/dut/inspire'
1
8274
And param service = 'CSW'
0
8275
And param version = '2.0.2'
0
8276
And param request = 'GetRecordById'
0
8277
And param id = '5255c080-5f4e-4f7a-8a2c-6ac9d0103288'
0
8278
And param elementsetname = 'full'
0
8279
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8280
When method get
1785
8281
Then status 200
0
8282
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5255c080-5f4e-4f7a-8a2c-6ac9d0103288'
1
8283
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8284
* def title = get response //citation/CI_Citation/title/CharacterString
0
8285
* def email = get response //electronicMailAddress/CharacterString
1
8286
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8287
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8288
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8289
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8290
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8291
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8292
* print organisationpath
0
06:40:44.170 [print]
8293
* print operateson
0
06:40:44.170 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification
8294
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8295
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
8296
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.245:18]0606e8cb-fa51-402c-a3be-19fd724b0a10
ms: 1849
>>
Background:
8297
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8298
* def mystorage = Java.type('storage.DataStorage')
2
8299
* def db = new mystorage
17
8300
* def db = db.setfeature(karate.info.featureFileName)
8
8301
* def separator = java.lang.System.getProperty("file.separator")
1
8302
* def outputpath = db.outputpath()
1
8303
* eval db.ensureDirectory(outputpath)
1
8304
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8305
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8306
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8307
Given path 'geonetwork/srv/dut/inspire'
0
8308
And param service = 'CSW'
0
8309
And param version = '2.0.2'
0
8310
And param request = 'GetRecordById'
0
8311
And param id = '0606e8cb-fa51-402c-a3be-19fd724b0a10'
0
8312
And param elementsetname = 'full'
0
8313
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8314
When method get
1840
8315
Then status 200
0
8316
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0606e8cb-fa51-402c-a3be-19fd724b0a10'
1
8317
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8318
* def title = get response //citation/CI_Citation/title/CharacterString
0
8319
* def email = get response //electronicMailAddress/CharacterString
0
8320
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8321
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8322
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8323
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8324
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8325
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8326
* print organisationpath
0
06:40:44.288 [print]
8327
* print operateson
0
06:40:44.288 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification
8328
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8329
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8330
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.246:18]0bb27a13-76f1-4374-8d44-76e937198e8d
ms: 1891
>>
Background:
8331
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8332
* def mystorage = Java.type('storage.DataStorage')
2
8333
* def db = new mystorage
17
8334
* def db = db.setfeature(karate.info.featureFileName)
8
8335
* def separator = java.lang.System.getProperty("file.separator")
1
8336
* def outputpath = db.outputpath()
1
8337
* eval db.ensureDirectory(outputpath)
1
8338
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8339
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8340
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8341
Given path 'geonetwork/srv/dut/inspire'
1
8342
And param service = 'CSW'
0
8343
And param version = '2.0.2'
0
8344
And param request = 'GetRecordById'
0
8345
And param id = '0bb27a13-76f1-4374-8d44-76e937198e8d'
1
8346
And param elementsetname = 'full'
0
8347
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8348
When method get
1881
8349
Then status 200
0
8350
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bb27a13-76f1-4374-8d44-76e937198e8d'
1
8351
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8352
* def title = get response //citation/CI_Citation/title/CharacterString
0
8353
* def email = get response //electronicMailAddress/CharacterString
0
8354
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8355
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8356
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8357
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8358
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8359
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8360
* print organisationpath
0
06:40:44.398 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
8361
* print operateson
0
06:40:44.398 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
8362
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8363
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8364
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.247:18]5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5
ms: 1904
>>
Background:
8365
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8366
* def mystorage = Java.type('storage.DataStorage')
2
8367
* def db = new mystorage
17
8368
* def db = db.setfeature(karate.info.featureFileName)
8
8369
* def separator = java.lang.System.getProperty("file.separator")
1
8370
* def outputpath = db.outputpath()
1
8371
* eval db.ensureDirectory(outputpath)
1
8372
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8373
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8374
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8375
Given path 'geonetwork/srv/dut/inspire'
0
8376
And param service = 'CSW'
0
8377
And param version = '2.0.2'
0
8378
And param request = 'GetRecordById'
0
8379
And param id = '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5'
0
8380
And param elementsetname = 'full'
0
8381
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8382
When method get
1895
8383
Then status 200
0
8384
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5'
1
8385
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8386
* def title = get response //citation/CI_Citation/title/CharacterString
0
8387
* def email = get response //electronicMailAddress/CharacterString
0
8388
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8389
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8390
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8391
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8392
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8393
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8394
* print organisationpath
0
06:40:44.495 [print]
8395
* print operateson
0
06:40:44.495 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification
8396
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8397
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8398
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.248:18]a931e334-b752-4935-8a98-00eddc443789
ms: 1774
>>
Background:
8399
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8400
* def mystorage = Java.type('storage.DataStorage')
2
8401
* def db = new mystorage
17
8402
* def db = db.setfeature(karate.info.featureFileName)
8
8403
* def separator = java.lang.System.getProperty("file.separator")
1
8404
* def outputpath = db.outputpath()
1
8405
* eval db.ensureDirectory(outputpath)
1
8406
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8407
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8408
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8409
Given path 'geonetwork/srv/dut/inspire'
0
8410
And param service = 'CSW'
0
8411
And param version = '2.0.2'
0
8412
And param request = 'GetRecordById'
0
8413
And param id = 'a931e334-b752-4935-8a98-00eddc443789'
0
8414
And param elementsetname = 'full'
0
8415
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8416
When method get
1764
8417
Then status 200
0
8418
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a931e334-b752-4935-8a98-00eddc443789'
1
8419
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8420
* def title = get response //citation/CI_Citation/title/CharacterString
0
8421
* def email = get response //electronicMailAddress/CharacterString
0
8422
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8423
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8424
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8425
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8426
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8427
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8428
* print organisationpath
0
06:40:44.583 [print]
8429
* print operateson
0
06:40:44.583 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification
8430
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8431
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8432
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.249:18]01572637-b851-4cc3-b06a-56c1ae1115cc
ms: 1919
>>
Background:
8433
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8434
* def mystorage = Java.type('storage.DataStorage')
2
8435
* def db = new mystorage
17
8436
* def db = db.setfeature(karate.info.featureFileName)
8
8437
* def separator = java.lang.System.getProperty("file.separator")
1
8438
* def outputpath = db.outputpath()
1
8439
* eval db.ensureDirectory(outputpath)
1
8440
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8441
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8442
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8443
Given path 'geonetwork/srv/dut/inspire'
0
8444
And param service = 'CSW'
0
8445
And param version = '2.0.2'
0
8446
And param request = 'GetRecordById'
0
8447
And param id = '01572637-b851-4cc3-b06a-56c1ae1115cc'
1
8448
And param elementsetname = 'full'
0
8449
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8450
When method get
1904
8451
Then status 200
0
8452
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '01572637-b851-4cc3-b06a-56c1ae1115cc'
6
8453
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8454
* def title = get response //citation/CI_Citation/title/CharacterString
1
8455
* def email = get response //electronicMailAddress/CharacterString
1
8456
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8457
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8458
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8459
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8460
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8461
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8462
* print organisationpath
0
06:40:44.731 [print]
8463
* print operateson
0
06:40:44.731 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification
8464
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8465
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
8466
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.250:18]15c3c30f-0db2-4b3b-80f6-b990c8fc8225
ms: 1884
>>
Background:
8467
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8468
* def mystorage = Java.type('storage.DataStorage')
2
8469
* def db = new mystorage
17
8470
* def db = db.setfeature(karate.info.featureFileName)
8
8471
* def separator = java.lang.System.getProperty("file.separator")
1
8472
* def outputpath = db.outputpath()
1
8473
* eval db.ensureDirectory(outputpath)
1
8474
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8475
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8476
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8477
Given path 'geonetwork/srv/dut/inspire'
0
8478
And param service = 'CSW'
0
8479
And param version = '2.0.2'
0
8480
And param request = 'GetRecordById'
0
8481
And param id = '15c3c30f-0db2-4b3b-80f6-b990c8fc8225'
0
8482
And param elementsetname = 'full'
0
8483
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8484
When method get
1742
8485
Then status 200
0
8486
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '15c3c30f-0db2-4b3b-80f6-b990c8fc8225'
2
8487
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8488
* def title = get response //citation/CI_Citation/title/CharacterString
0
8489
* def email = get response //electronicMailAddress/CharacterString
40
8490
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
7
8491
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
86
8492
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8493
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8494
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8495
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8496
* print organisationpath
0
06:40:44.723 [print]
8497
* print operateson
0
06:40:44.723 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification
8498
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8499
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8500
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.251:18]1fa220c2-5f2e-4943-a57e-c291cc35084b
ms: 1876
>>
Background:
8501
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8502
* def mystorage = Java.type('storage.DataStorage')
2
8503
* def db = new mystorage
17
8504
* def db = db.setfeature(karate.info.featureFileName)
8
8505
* def separator = java.lang.System.getProperty("file.separator")
1
8506
* def outputpath = db.outputpath()
1
8507
* eval db.ensureDirectory(outputpath)
1
8508
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8509
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8510
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8511
Given path 'geonetwork/srv/dut/inspire'
0
8512
And param service = 'CSW'
0
8513
And param version = '2.0.2'
0
8514
And param request = 'GetRecordById'
0
8515
And param id = '1fa220c2-5f2e-4943-a57e-c291cc35084b'
0
8516
And param elementsetname = 'full'
0
8517
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8518
When method get
1846
8519
Then status 200
0
8520
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1fa220c2-5f2e-4943-a57e-c291cc35084b'
2
8521
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
8522
* def title = get response //citation/CI_Citation/title/CharacterString
2
8523
* def email = get response //electronicMailAddress/CharacterString
2
8524
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
8525
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
8526
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
8527
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
8528
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
8529
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
8530
* print organisationpath
0
06:40:44.813 [print] Beheer PDOK
8531
* print operateson
0
06:40:44.813 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification
8532
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
3
8533
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8534
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.252:18]a301ddc7-c26f-42d8-b367-509ae5ae47d0
ms: 1875
>>
Background:
8535
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8536
* def mystorage = Java.type('storage.DataStorage')
2
8537
* def db = new mystorage
17
8538
* def db = db.setfeature(karate.info.featureFileName)
8
8539
* def separator = java.lang.System.getProperty("file.separator")
1
8540
* def outputpath = db.outputpath()
1
8541
* eval db.ensureDirectory(outputpath)
1
8542
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8543
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8544
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8545
Given path 'geonetwork/srv/dut/inspire'
0
8546
And param service = 'CSW'
0
8547
And param version = '2.0.2'
0
8548
And param request = 'GetRecordById'
0
8549
And param id = 'a301ddc7-c26f-42d8-b367-509ae5ae47d0'
0
8550
And param elementsetname = 'full'
0
8551
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8552
When method get
1865
8553
Then status 200
0
8554
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a301ddc7-c26f-42d8-b367-509ae5ae47d0'
1
8555
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8556
* def title = get response //citation/CI_Citation/title/CharacterString
0
8557
* def email = get response //electronicMailAddress/CharacterString
0
8558
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8559
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8560
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8561
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8562
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8563
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8564
* print organisationpath
0
06:40:44.898 [print] Beheer PDOK
8565
* print operateson
0
06:40:44.898 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=74aca3eb-c38b-4214-9537-e0abc69e11b5#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5b274449-b6c2-4672-a32f-e0bd40975a53#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=df15af6e-0d21-4437-a69f-802be3479bba#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=64ff8561-5c56-4cc1-ae0e-94366fb70b7e#MD_DataIdentification" ]
8566
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8567
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8568
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.253:18]e5ef707f-6458-4567-8d2c-d24fe88ab5e9
ms: 1772
>>
Background:
8569
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8570
* def mystorage = Java.type('storage.DataStorage')
2
8571
* def db = new mystorage
17
8572
* def db = db.setfeature(karate.info.featureFileName)
8
8573
* def separator = java.lang.System.getProperty("file.separator")
1
8574
* def outputpath = db.outputpath()
1
8575
* eval db.ensureDirectory(outputpath)
1
8576
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8577
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8578
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8579
Given path 'geonetwork/srv/dut/inspire'
0
8580
And param service = 'CSW'
0
8581
And param version = '2.0.2'
0
8582
And param request = 'GetRecordById'
0
8583
And param id = 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9'
0
8584
And param elementsetname = 'full'
0
8585
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8586
When method get
1764
8587
Then status 200
0
8588
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9'
1
8589
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8590
* def title = get response //citation/CI_Citation/title/CharacterString
0
8591
* def email = get response //electronicMailAddress/CharacterString
0
8592
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8593
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8594
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8595
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8596
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8597
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8598
* print organisationpath
0
06:40:44.801 [print] TNO Geologische Dienst Nederland
8599
* print operateson
0
06:40:44.801 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8600
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8601
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8602
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.254:18]b85d4a0a-c0f7-42f4-9316-b214d205ca38
ms: 1930
>>
Background:
8603
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8604
* def mystorage = Java.type('storage.DataStorage')
2
8605
* def db = new mystorage
17
8606
* def db = db.setfeature(karate.info.featureFileName)
8
8607
* def separator = java.lang.System.getProperty("file.separator")
1
8608
* def outputpath = db.outputpath()
1
8609
* eval db.ensureDirectory(outputpath)
1
8610
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8611
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8612
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8613
Given path 'geonetwork/srv/dut/inspire'
0
8614
And param service = 'CSW'
0
8615
And param version = '2.0.2'
0
8616
And param request = 'GetRecordById'
0
8617
And param id = 'b85d4a0a-c0f7-42f4-9316-b214d205ca38'
1
8618
And param elementsetname = 'full'
0
8619
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8620
When method get
1921
8621
Then status 200
0
8622
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b85d4a0a-c0f7-42f4-9316-b214d205ca38'
1
8623
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8624
* def title = get response //citation/CI_Citation/title/CharacterString
0
8625
* def email = get response //electronicMailAddress/CharacterString
0
8626
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8627
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8628
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8629
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8630
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8631
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8632
* print organisationpath
0
06:40:45.070 [print] RDW
8633
* print operateson
0
06:40:45.070 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe2f9091-1962-4073-9e3b-3e4aeed488a5#MD_DataIdentification
8634
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8635
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8636
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.255:18]f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8
ms: 1802
>>
Background:
8637
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8638
* def mystorage = Java.type('storage.DataStorage')
2
8639
* def db = new mystorage
17
8640
* def db = db.setfeature(karate.info.featureFileName)
8
8641
* def separator = java.lang.System.getProperty("file.separator")
1
8642
* def outputpath = db.outputpath()
1
8643
* eval db.ensureDirectory(outputpath)
1
8644
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8645
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8646
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8647
Given path 'geonetwork/srv/dut/inspire'
0
8648
And param service = 'CSW'
0
8649
And param version = '2.0.2'
0
8650
And param request = 'GetRecordById'
0
8651
And param id = 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8'
0
8652
And param elementsetname = 'full'
0
8653
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8654
When method get
1794
8655
Then status 200
0
8656
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8'
1
8657
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8658
* def title = get response //citation/CI_Citation/title/CharacterString
0
8659
* def email = get response //electronicMailAddress/CharacterString
0
8660
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8661
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8662
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8663
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8664
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8665
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8666
* print organisationpath
0
06:40:44.956 [print] Beheer PDOK
8667
* print operateson
0
06:40:44.956 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e5f0f60-0f2f-4e17-96af-c913fe305ecb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8f0497f0-dbd7-4bee-b85a-5fdec484a7ff#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification" ]
8668
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8669
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8670
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.256:18]f1dadc2c-6de2-415a-a2b7-aaf057ddda43
ms: 1952
>>
Background:
8671
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8672
* def mystorage = Java.type('storage.DataStorage')
2
8673
* def db = new mystorage
17
8674
* def db = db.setfeature(karate.info.featureFileName)
8
8675
* def separator = java.lang.System.getProperty("file.separator")
1
8676
* def outputpath = db.outputpath()
1
8677
* eval db.ensureDirectory(outputpath)
1
8678
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8679
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8680
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8681
Given path 'geonetwork/srv/dut/inspire'
0
8682
And param service = 'CSW'
0
8683
And param version = '2.0.2'
0
8684
And param request = 'GetRecordById'
0
8685
And param id = 'f1dadc2c-6de2-415a-a2b7-aaf057ddda43'
0
8686
And param elementsetname = 'full'
0
8687
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8688
When method get
1944
8689
Then status 200
0
8690
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1dadc2c-6de2-415a-a2b7-aaf057ddda43'
1
8691
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8692
* def title = get response //citation/CI_Citation/title/CharacterString
0
8693
* def email = get response //electronicMailAddress/CharacterString
0
8694
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8695
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8696
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8697
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8698
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8699
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8700
* print organisationpath
0
06:40:45.233 [print] Beheer PDOK
8701
* print operateson
0
06:40:45.233 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification
8702
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8703
* eval db.writeln('"f1dadc2c-6de2-415a-a2b7-aaf057ddda43","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8704
* eval db.writeln('"f1dadc2c-6de2-415a-a2b7-aaf057ddda43","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.257:18]5471a93b-cf18-43f5-9ddb-71987857435d
ms: 1806
>>
Background:
8705
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8706
* def mystorage = Java.type('storage.DataStorage')
2
8707
* def db = new mystorage
17
8708
* def db = db.setfeature(karate.info.featureFileName)
8
8709
* def separator = java.lang.System.getProperty("file.separator")
1
8710
* def outputpath = db.outputpath()
1
8711
* eval db.ensureDirectory(outputpath)
1
8712
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8713
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8714
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8715
Given path 'geonetwork/srv/dut/inspire'
0
8716
And param service = 'CSW'
0
8717
And param version = '2.0.2'
0
8718
And param request = 'GetRecordById'
0
8719
And param id = '5471a93b-cf18-43f5-9ddb-71987857435d'
0
8720
And param elementsetname = 'full'
0
8721
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8722
When method get
1797
8723
Then status 200
0
8724
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5471a93b-cf18-43f5-9ddb-71987857435d'
1
8725
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8726
* def title = get response //citation/CI_Citation/title/CharacterString
0
8727
* def email = get response //electronicMailAddress/CharacterString
0
8728
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8729
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8730
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8731
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8732
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8733
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8734
* print organisationpath
0
06:40:45.127 [print] TNO Geologische Dienst Nederland
8735
* print operateson
0
06:40:45.128 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8736
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8737
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8738
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.258:18]6d23a02b-5a8a-447e-a481-ddb2a085c1fb
ms: 1797
>>
Background:
8739
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8740
* def mystorage = Java.type('storage.DataStorage')
2
8741
* def db = new mystorage
17
8742
* def db = db.setfeature(karate.info.featureFileName)
8
8743
* def separator = java.lang.System.getProperty("file.separator")
1
8744
* def outputpath = db.outputpath()
1
8745
* eval db.ensureDirectory(outputpath)
1
8746
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8747
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8748
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8749
Given path 'geonetwork/srv/dut/inspire'
0
8750
And param service = 'CSW'
0
8751
And param version = '2.0.2'
0
8752
And param request = 'GetRecordById'
0
8753
And param id = '6d23a02b-5a8a-447e-a481-ddb2a085c1fb'
0
8754
And param elementsetname = 'full'
0
8755
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8756
When method get
1789
8757
Then status 200
0
8758
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d23a02b-5a8a-447e-a481-ddb2a085c1fb'
1
8759
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8760
* def title = get response //citation/CI_Citation/title/CharacterString
0
8761
* def email = get response //electronicMailAddress/CharacterString
1
8762
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8763
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8764
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8765
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8766
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8767
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8768
* print organisationpath
0
06:40:45.184 [print] Beheer PDOK
8769
* print operateson
0
06:40:45.185 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
8770
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8771
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8772
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.259:18]e75b66ae-21b1-4303-aeb3-787608707b23
ms: 2064
>>
Background:
8773
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8774
* def mystorage = Java.type('storage.DataStorage')
2
8775
* def db = new mystorage
17
8776
* def db = db.setfeature(karate.info.featureFileName)
8
8777
* def separator = java.lang.System.getProperty("file.separator")
1
8778
* def outputpath = db.outputpath()
1
8779
* eval db.ensureDirectory(outputpath)
1
8780
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8781
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8782
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8783
Given path 'geonetwork/srv/dut/inspire'
0
8784
And param service = 'CSW'
0
8785
And param version = '2.0.2'
0
8786
And param request = 'GetRecordById'
0
8787
And param id = 'e75b66ae-21b1-4303-aeb3-787608707b23'
0
8788
And param elementsetname = 'full'
0
8789
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8790
When method get
2055
8791
Then status 200
0
8792
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e75b66ae-21b1-4303-aeb3-787608707b23'
1
8793
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8794
* def title = get response //citation/CI_Citation/title/CharacterString
0
8795
* def email = get response //electronicMailAddress/CharacterString
0
8796
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8797
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8798
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8799
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8800
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8801
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8802
* print organisationpath
0
06:40:45.458 [print] Beheer PDOK
8803
* print operateson
0
06:40:45.458 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification
8804
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8805
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8806
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.260:18]e27e61d8-25b1-45ee-a2df-071312ba8a69
ms: 1951
>>
Background:
8807
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8808
* def mystorage = Java.type('storage.DataStorage')
2
8809
* def db = new mystorage
17
8810
* def db = db.setfeature(karate.info.featureFileName)
8
8811
* def separator = java.lang.System.getProperty("file.separator")
1
8812
* def outputpath = db.outputpath()
1
8813
* eval db.ensureDirectory(outputpath)
1
8814
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8815
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8816
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8817
Given path 'geonetwork/srv/dut/inspire'
0
8818
And param service = 'CSW'
0
8819
And param version = '2.0.2'
0
8820
And param request = 'GetRecordById'
0
8821
And param id = 'e27e61d8-25b1-45ee-a2df-071312ba8a69'
0
8822
And param elementsetname = 'full'
0
8823
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8824
When method get
1943
8825
Then status 200
0
8826
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e27e61d8-25b1-45ee-a2df-071312ba8a69'
1
8827
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8828
* def title = get response //citation/CI_Citation/title/CharacterString
0
8829
* def email = get response //electronicMailAddress/CharacterString
0
8830
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8831
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8832
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8833
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8834
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8835
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8836
* print organisationpath
0
06:40:45.473 [print] Beheer PDOK
8837
* print operateson
0
06:40:45.473 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification" ]
8838
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8839
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8840
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.261:18]e222648d-d19e-4a99-a67d-2af1c9aabd75
ms: 1886
>>
Background:
8841
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8842
* def mystorage = Java.type('storage.DataStorage')
2
8843
* def db = new mystorage
17
8844
* def db = db.setfeature(karate.info.featureFileName)
8
8845
* def separator = java.lang.System.getProperty("file.separator")
1
8846
* def outputpath = db.outputpath()
1
8847
* eval db.ensureDirectory(outputpath)
1
8848
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8849
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8850
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8851
Given path 'geonetwork/srv/dut/inspire'
0
8852
And param service = 'CSW'
0
8853
And param version = '2.0.2'
0
8854
And param request = 'GetRecordById'
0
8855
And param id = 'e222648d-d19e-4a99-a67d-2af1c9aabd75'
1
8856
And param elementsetname = 'full'
0
8857
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8858
When method get
1878
8859
Then status 200
0
8860
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e222648d-d19e-4a99-a67d-2af1c9aabd75'
1
8861
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8862
* def title = get response //citation/CI_Citation/title/CharacterString
0
8863
* def email = get response //electronicMailAddress/CharacterString
0
8864
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8865
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8866
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8867
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8868
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8869
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8870
* print organisationpath
0
06:40:45.595 [print]
8871
* print operateson
0
06:40:45.595 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
8872
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8873
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8874
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.262:18]ef2a7962-8bb4-483f-ac78-851b619f357f
ms: 1503
>>
Background:
8875
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8876
* def mystorage = Java.type('storage.DataStorage')
2
8877
* def db = new mystorage
17
8878
* def db = db.setfeature(karate.info.featureFileName)
8
8879
* def separator = java.lang.System.getProperty("file.separator")
1
8880
* def outputpath = db.outputpath()
1
8881
* eval db.ensureDirectory(outputpath)
1
8882
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8883
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8884
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8885
Given path 'geonetwork/srv/dut/inspire'
0
8886
And param service = 'CSW'
0
8887
And param version = '2.0.2'
0
8888
And param request = 'GetRecordById'
0
8889
And param id = 'ef2a7962-8bb4-483f-ac78-851b619f357f'
0
8890
And param elementsetname = 'full'
0
8891
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8892
When method get
1495
8893
Then status 200
0
8894
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ac78-851b619f357f'
1
8895
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8896
* def title = get response //citation/CI_Citation/title/CharacterString
0
8897
* def email = get response //electronicMailAddress/CharacterString
0
8898
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8899
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8900
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8901
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8902
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8903
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8904
* print organisationpath
0
06:40:45.225 [print] Rijksdienst voor het Cultureel Erfgoed
8905
* print operateson
0
06:40:45.225 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=6f84efeb-fc1d-4565-a721-80735ea57dbd&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=dfe5b146-354f-4bc7-99b1-6713817afac9&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88a3c1ae-902e-4efa-8663-ddd836101929&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
8906
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8907
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8908
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.263:18]641a0f48-872b-4470-b130-e3d28e6bfdfb
ms: 1953
>>
Background:
8909
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8910
* def mystorage = Java.type('storage.DataStorage')
2
8911
* def db = new mystorage
17
8912
* def db = db.setfeature(karate.info.featureFileName)
8
8913
* def separator = java.lang.System.getProperty("file.separator")
1
8914
* def outputpath = db.outputpath()
1
8915
* eval db.ensureDirectory(outputpath)
1
8916
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8917
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8918
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8919
Given path 'geonetwork/srv/dut/inspire'
0
8920
And param service = 'CSW'
0
8921
And param version = '2.0.2'
0
8922
And param request = 'GetRecordById'
0
8923
And param id = '641a0f48-872b-4470-b130-e3d28e6bfdfb'
1
8924
And param elementsetname = 'full'
0
8925
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8926
When method get
1944
8927
Then status 200
0
8928
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '641a0f48-872b-4470-b130-e3d28e6bfdfb'
1
8929
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8930
* def title = get response //citation/CI_Citation/title/CharacterString
0
8931
* def email = get response //electronicMailAddress/CharacterString
0
8932
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8933
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8934
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8935
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8936
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8937
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8938
* print organisationpath
0
06:40:45.693 [print]
8939
* print operateson
0
06:40:45.693 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification" ]
8940
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8941
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8942
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.264:18]7c664a91-1aa2-4923-9d17-6a43e4075f47
ms: 1938
>>
Background:
8943
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8944
* def mystorage = Java.type('storage.DataStorage')
2
8945
* def db = new mystorage
17
8946
* def db = db.setfeature(karate.info.featureFileName)
8
8947
* def separator = java.lang.System.getProperty("file.separator")
1
8948
* def outputpath = db.outputpath()
1
8949
* eval db.ensureDirectory(outputpath)
1
8950
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8951
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8952
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8953
Given path 'geonetwork/srv/dut/inspire'
0
8954
And param service = 'CSW'
0
8955
And param version = '2.0.2'
0
8956
And param request = 'GetRecordById'
0
8957
And param id = '7c664a91-1aa2-4923-9d17-6a43e4075f47'
0
8958
And param elementsetname = 'full'
0
8959
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8960
When method get
1931
8961
Then status 200
0
8962
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c664a91-1aa2-4923-9d17-6a43e4075f47'
1
8963
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8964
* def title = get response //citation/CI_Citation/title/CharacterString
0
8965
* def email = get response //electronicMailAddress/CharacterString
0
8966
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8967
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8968
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8969
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8970
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8971
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8972
* print organisationpath
0
06:40:45.765 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
8973
* print operateson
0
06:40:45.765 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bb11be63-bd38-4632-bf54-df44c423a529#MD_DataIdentification
8974
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8975
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8976
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.265:18]46873d16-6835-48c4-b47f-134ab0cb31fa
ms: 1777
>>
Background:
8977
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
8978
* def mystorage = Java.type('storage.DataStorage')
2
8979
* def db = new mystorage
17
8980
* def db = db.setfeature(karate.info.featureFileName)
8
8981
* def separator = java.lang.System.getProperty("file.separator")
1
8982
* def outputpath = db.outputpath()
1
8983
* eval db.ensureDirectory(outputpath)
1
8984
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8985
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8986
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8987
Given path 'geonetwork/srv/dut/inspire'
1
8988
And param service = 'CSW'
0
8989
And param version = '2.0.2'
0
8990
And param request = 'GetRecordById'
0
8991
And param id = '46873d16-6835-48c4-b47f-134ab0cb31fa'
0
8992
And param elementsetname = 'full'
0
8993
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8994
When method get
1766
8995
Then status 200
0
8996
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '46873d16-6835-48c4-b47f-134ab0cb31fa'
1
8997
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8998
* def title = get response //citation/CI_Citation/title/CharacterString
0
8999
* def email = get response //electronicMailAddress/CharacterString
0
9000
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9001
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9002
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9003
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9004
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9005
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9006
* print organisationpath
0
06:40:45.779 [print]
9007
* print operateson
0
06:40:45.779 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification
9008
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9009
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9010
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.266:18]ef2a7962-8bb4-483f-ca52-85123f579
ms: 1741
>>
Background:
9011
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9012
* def mystorage = Java.type('storage.DataStorage')
2
9013
* def db = new mystorage
17
9014
* def db = db.setfeature(karate.info.featureFileName)
8
9015
* def separator = java.lang.System.getProperty("file.separator")
1
9016
* def outputpath = db.outputpath()
1
9017
* eval db.ensureDirectory(outputpath)
1
9018
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9019
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9020
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9021
Given path 'geonetwork/srv/dut/inspire'
0
9022
And param service = 'CSW'
0
9023
And param version = '2.0.2'
0
9024
And param request = 'GetRecordById'
0
9025
And param id = 'ef2a7962-8bb4-483f-ca52-85123f579'
0
9026
And param elementsetname = 'full'
0
9027
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9028
When method get
1733
9029
Then status 200
0
9030
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ca52-85123f579'
1
9031
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9032
* def title = get response //citation/CI_Citation/title/CharacterString
0
9033
* def email = get response //electronicMailAddress/CharacterString
0
9034
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9035
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9036
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9037
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9038
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9039
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9040
* print organisationpath
0
06:40:45.756 [print] Informatiehuis Water
9041
* print operateson
0
06:40:45.756 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
9042
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9043
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9044
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.267:18]5f0c583a-101e-45ea-b684-a056713cf811
ms: 1816
>>
Background:
9045
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9046
* def mystorage = Java.type('storage.DataStorage')
2
9047
* def db = new mystorage
17
9048
* def db = db.setfeature(karate.info.featureFileName)
8
9049
* def separator = java.lang.System.getProperty("file.separator")
1
9050
* def outputpath = db.outputpath()
1
9051
* eval db.ensureDirectory(outputpath)
1
9052
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9053
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9054
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9055
Given path 'geonetwork/srv/dut/inspire'
0
9056
And param service = 'CSW'
0
9057
And param version = '2.0.2'
0
9058
And param request = 'GetRecordById'
0
9059
And param id = '5f0c583a-101e-45ea-b684-a056713cf811'
1
9060
And param elementsetname = 'full'
0
9061
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9062
When method get
1808
9063
Then status 200
0
9064
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5f0c583a-101e-45ea-b684-a056713cf811'
1
9065
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9066
* def title = get response //citation/CI_Citation/title/CharacterString
0
9067
* def email = get response //electronicMailAddress/CharacterString
0
9068
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9069
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9070
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9071
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9072
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9073
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9074
* print organisationpath
0
06:40:45.991 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
9075
* print operateson
0
06:40:45.991 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
9076
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9077
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9078
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.268:18]037e55bd-a1dc-4fde-adfe-4610d3a3d5cb
ms: 1813
>>
Background:
9079
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9080
* def mystorage = Java.type('storage.DataStorage')
2
9081
* def db = new mystorage
17
9082
* def db = db.setfeature(karate.info.featureFileName)
8
9083
* def separator = java.lang.System.getProperty("file.separator")
1
9084
* def outputpath = db.outputpath()
1
9085
* eval db.ensureDirectory(outputpath)
1
9086
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9087
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9088
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9089
Given path 'geonetwork/srv/dut/inspire'
0
9090
And param service = 'CSW'
0
9091
And param version = '2.0.2'
0
9092
And param request = 'GetRecordById'
0
9093
And param id = '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb'
0
9094
And param elementsetname = 'full'
0
9095
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9096
When method get
1805
9097
Then status 200
0
9098
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb'
1
9099
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9100
* def title = get response //citation/CI_Citation/title/CharacterString
0
9101
* def email = get response //electronicMailAddress/CharacterString
0
9102
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9103
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9104
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9105
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9106
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9107
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9108
* print organisationpath
0
06:40:46.015 [print]
9109
* print operateson
0
06:40:46.015 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
9110
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9111
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9112
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.269:18]tn-2c7040b-c448-451b-bf15-f2416etaadd1
ms: 1855
>>
Background:
9113
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9114
* def mystorage = Java.type('storage.DataStorage')
2
9115
* def db = new mystorage
17
9116
* def db = db.setfeature(karate.info.featureFileName)
8
9117
* def separator = java.lang.System.getProperty("file.separator")
1
9118
* def outputpath = db.outputpath()
1
9119
* eval db.ensureDirectory(outputpath)
1
9120
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9121
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9122
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9123
Given path 'geonetwork/srv/dut/inspire'
1
9124
And param service = 'CSW'
0
9125
And param version = '2.0.2'
0
9126
And param request = 'GetRecordById'
0
9127
And param id = 'tn-2c7040b-c448-451b-bf15-f2416etaadd1'
1
9128
And param elementsetname = 'full'
0
9129
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9130
When method get
1846
9131
Then status 200
0
9132
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416etaadd1'
1
9133
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9134
* def title = get response //citation/CI_Citation/title/CharacterString
1
9135
* def email = get response //electronicMailAddress/CharacterString
0
9136
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9137
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9138
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9139
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9140
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9141
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9142
* print organisationpath
0
06:40:46.144 [print] Rijkswaterstaat
9143
* print operateson
0
06:40:46.144 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
9144
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9145
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416etaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9146
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416etaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.270:18]54122631-d343-40be-9c28-e44626b37a0e
ms: 1995
>>
Background:
9147
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9148
* def mystorage = Java.type('storage.DataStorage')
2
9149
* def db = new mystorage
17
9150
* def db = db.setfeature(karate.info.featureFileName)
8
9151
* def separator = java.lang.System.getProperty("file.separator")
1
9152
* def outputpath = db.outputpath()
1
9153
* eval db.ensureDirectory(outputpath)
1
9154
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9155
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9156
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9157
Given path 'geonetwork/srv/dut/inspire'
0
9158
And param service = 'CSW'
0
9159
And param version = '2.0.2'
0
9160
And param request = 'GetRecordById'
0
9161
And param id = '54122631-d343-40be-9c28-e44626b37a0e'
0
9162
And param elementsetname = 'full'
0
9163
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9164
When method get
1988
9165
Then status 200
0
9166
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54122631-d343-40be-9c28-e44626b37a0e'
1
9167
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9168
* def title = get response //citation/CI_Citation/title/CharacterString
0
9169
* def email = get response //electronicMailAddress/CharacterString
0
9170
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9171
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9172
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9173
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9174
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9175
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9176
* print organisationpath
0
06:40:46.395 [print]
9177
* print operateson
0
06:40:46.395 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=12bb57cd-73e0-41ba-a1e9-6d986b9109d3&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9178
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9179
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9180
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.271:18]9ad3f0c0-9e2c-4d44-a467-b57920aa512f
ms: 1782
>>
Background:
9181
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9182
* def mystorage = Java.type('storage.DataStorage')
2
9183
* def db = new mystorage
17
9184
* def db = db.setfeature(karate.info.featureFileName)
8
9185
* def separator = java.lang.System.getProperty("file.separator")
1
9186
* def outputpath = db.outputpath()
1
9187
* eval db.ensureDirectory(outputpath)
1
9188
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9189
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9190
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9191
Given path 'geonetwork/srv/dut/inspire'
0
9192
And param service = 'CSW'
0
9193
And param version = '2.0.2'
0
9194
And param request = 'GetRecordById'
0
9195
And param id = '9ad3f0c0-9e2c-4d44-a467-b57920aa512f'
0
9196
And param elementsetname = 'full'
0
9197
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9198
When method get
1774
9199
Then status 200
0
9200
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ad3f0c0-9e2c-4d44-a467-b57920aa512f'
1
9201
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9202
* def title = get response //citation/CI_Citation/title/CharacterString
0
9203
* def email = get response //electronicMailAddress/CharacterString
0
9204
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9205
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9206
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9207
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9208
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9209
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9210
* print organisationpath
0
06:40:46.278 [print]
9211
* print operateson
0
06:40:46.278 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ea938ed4-c9c0-4324-824f-5926669ba0e0#MD_DataIdentification
9212
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9213
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9214
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.272:18]efb5222c-112a-4c57-9bbf-f2af918cb9b5
ms: 1728
>>
Background:
9215
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9216
* def mystorage = Java.type('storage.DataStorage')
2
9217
* def db = new mystorage
17
9218
* def db = db.setfeature(karate.info.featureFileName)
8
9219
* def separator = java.lang.System.getProperty("file.separator")
1
9220
* def outputpath = db.outputpath()
1
9221
* eval db.ensureDirectory(outputpath)
1
9222
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9223
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9224
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9225
Given path 'geonetwork/srv/dut/inspire'
1
9226
And param service = 'CSW'
0
9227
And param version = '2.0.2'
0
9228
And param request = 'GetRecordById'
0
9229
And param id = 'efb5222c-112a-4c57-9bbf-f2af918cb9b5'
45
9230
And param elementsetname = 'full'
0
9231
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9232
When method get
1676
9233
Then status 200
0
9234
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'efb5222c-112a-4c57-9bbf-f2af918cb9b5'
1
9235
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9236
* def title = get response //citation/CI_Citation/title/CharacterString
0
9237
* def email = get response //electronicMailAddress/CharacterString
0
9238
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9239
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9240
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9241
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9242
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9243
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9244
* print organisationpath
0
06:40:46.312 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
9245
* print operateson
0
06:40:46.312 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification
9246
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9247
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9248
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.273:18]93c8762c-4cbb-42b0-9b02-89ef902e8880
ms: 1711
>>
Background:
9249
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9250
* def mystorage = Java.type('storage.DataStorage')
2
9251
* def db = new mystorage
17
9252
* def db = db.setfeature(karate.info.featureFileName)
8
9253
* def separator = java.lang.System.getProperty("file.separator")
1
9254
* def outputpath = db.outputpath()
1
9255
* eval db.ensureDirectory(outputpath)
1
9256
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9257
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9258
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9259
Given path 'geonetwork/srv/dut/inspire'
0
9260
And param service = 'CSW'
0
9261
And param version = '2.0.2'
0
9262
And param request = 'GetRecordById'
0
9263
And param id = '93c8762c-4cbb-42b0-9b02-89ef902e8880'
1
9264
And param elementsetname = 'full'
0
9265
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9266
When method get
1703
9267
Then status 200
0
9268
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93c8762c-4cbb-42b0-9b02-89ef902e8880'
1
9269
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9270
* def title = get response //citation/CI_Citation/title/CharacterString
0
9271
* def email = get response //electronicMailAddress/CharacterString
0
9272
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9273
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9274
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9275
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9276
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9277
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9278
* print organisationpath
0
06:40:46.436 [print] Beheer PDOK
9279
* print operateson
0
06:40:46.436 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f0821bfe-5a0a-11e9-8647-d663bd873d93#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification" ]
9280
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9281
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9282
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.274:18]e91719b1-a139-42cf-8a1a-db78cd7477f8
ms: 1740
>>
Background:
9283
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9284
* def mystorage = Java.type('storage.DataStorage')
2
9285
* def db = new mystorage
17
9286
* def db = db.setfeature(karate.info.featureFileName)
8
9287
* def separator = java.lang.System.getProperty("file.separator")
1
9288
* def outputpath = db.outputpath()
1
9289
* eval db.ensureDirectory(outputpath)
1
9290
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9291
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9292
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9293
Given path 'geonetwork/srv/dut/inspire'
0
9294
And param service = 'CSW'
0
9295
And param version = '2.0.2'
0
9296
And param request = 'GetRecordById'
0
9297
And param id = 'e91719b1-a139-42cf-8a1a-db78cd7477f8'
0
9298
And param elementsetname = 'full'
0
9299
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9300
When method get
1730
9301
Then status 200
0
9302
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e91719b1-a139-42cf-8a1a-db78cd7477f8'
1
9303
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9304
* def title = get response //citation/CI_Citation/title/CharacterString
0
9305
* def email = get response //electronicMailAddress/CharacterString
0
9306
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9307
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9308
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9309
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9310
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9311
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9312
* print organisationpath
0
06:40:46.470 [print] Beheer PDOK
9313
* print operateson
0
06:40:46.471 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw2006-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw2006-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification" ]
9314
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9315
* eval db.writeln('"e91719b1-a139-42cf-8a1a-db78cd7477f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9316
* eval db.writeln('"e91719b1-a139-42cf-8a1a-db78cd7477f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.275:18]03c39474-aef9-4169-95da-9890af440b14
ms: 1815
>>
Background:
9317
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9318
* def mystorage = Java.type('storage.DataStorage')
2
9319
* def db = new mystorage
17
9320
* def db = db.setfeature(karate.info.featureFileName)
8
9321
* def separator = java.lang.System.getProperty("file.separator")
1
9322
* def outputpath = db.outputpath()
1
9323
* eval db.ensureDirectory(outputpath)
1
9324
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9325
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9326
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9327
Given path 'geonetwork/srv/dut/inspire'
0
9328
And param service = 'CSW'
0
9329
And param version = '2.0.2'
0
9330
And param request = 'GetRecordById'
0
9331
And param id = '03c39474-aef9-4169-95da-9890af440b14'
1
9332
And param elementsetname = 'full'
0
9333
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9334
When method get
1806
9335
Then status 200
0
9336
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c39474-aef9-4169-95da-9890af440b14'
1
9337
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9338
* def title = get response //citation/CI_Citation/title/CharacterString
0
9339
* def email = get response //electronicMailAddress/CharacterString
0
9340
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9341
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9342
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9343
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9344
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9345
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9346
* print organisationpath
0
06:40:46.616 [print]
9347
* print operateson
0
06:40:46.616 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification
9348
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9349
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9350
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.276:18]fbe544b6-6e6f-43a0-80b9-ced1df78c434
ms: 1873
>>
Background:
9351
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9352
* def mystorage = Java.type('storage.DataStorage')
2
9353
* def db = new mystorage
17
9354
* def db = db.setfeature(karate.info.featureFileName)
8
9355
* def separator = java.lang.System.getProperty("file.separator")
1
9356
* def outputpath = db.outputpath()
1
9357
* eval db.ensureDirectory(outputpath)
1
9358
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9359
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9360
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9361
Given path 'geonetwork/srv/dut/inspire'
0
9362
And param service = 'CSW'
0
9363
And param version = '2.0.2'
0
9364
And param request = 'GetRecordById'
0
9365
And param id = 'fbe544b6-6e6f-43a0-80b9-ced1df78c434'
0
9366
And param elementsetname = 'full'
0
9367
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9368
When method get
1864
9369
Then status 200
0
9370
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fbe544b6-6e6f-43a0-80b9-ced1df78c434'
1
9371
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9372
* def title = get response //citation/CI_Citation/title/CharacterString
1
9373
* def email = get response //electronicMailAddress/CharacterString
0
9374
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9375
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9376
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9377
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9378
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9379
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9380
* print organisationpath
0
06:40:46.689 [print]
9381
* print operateson
0
06:40:46.689 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification
9382
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9383
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9384
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.277:18]37308f90-e619-4b62-ae9e-e656bb3f1649
ms: 1887
>>
Background:
9385
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9386
* def mystorage = Java.type('storage.DataStorage')
2
9387
* def db = new mystorage
17
9388
* def db = db.setfeature(karate.info.featureFileName)
8
9389
* def separator = java.lang.System.getProperty("file.separator")
1
9390
* def outputpath = db.outputpath()
1
9391
* eval db.ensureDirectory(outputpath)
1
9392
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9393
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9394
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9395
Given path 'geonetwork/srv/dut/inspire'
0
9396
And param service = 'CSW'
0
9397
And param version = '2.0.2'
0
9398
And param request = 'GetRecordById'
0
9399
And param id = '37308f90-e619-4b62-ae9e-e656bb3f1649'
0
9400
And param elementsetname = 'full'
0
9401
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9402
When method get
1877
9403
Then status 200
0
9404
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37308f90-e619-4b62-ae9e-e656bb3f1649'
1
9405
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9406
* def title = get response //citation/CI_Citation/title/CharacterString
1
9407
* def email = get response //electronicMailAddress/CharacterString
0
9408
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9409
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9410
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9411
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9412
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9413
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9414
* print organisationpath
0
06:40:46.785 [print]
9415
* print operateson
0
06:40:46.786 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification
9416
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9417
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9418
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.278:18]72f30ca1-3b80-4020-b9ed-301b1a88df39
ms: 1861
>>
Background:
9419
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9420
* def mystorage = Java.type('storage.DataStorage')
2
9421
* def db = new mystorage
17
9422
* def db = db.setfeature(karate.info.featureFileName)
8
9423
* def separator = java.lang.System.getProperty("file.separator")
1
9424
* def outputpath = db.outputpath()
1
9425
* eval db.ensureDirectory(outputpath)
1
9426
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9427
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9428
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9429
Given path 'geonetwork/srv/dut/inspire'
0
9430
And param service = 'CSW'
0
9431
And param version = '2.0.2'
0
9432
And param request = 'GetRecordById'
0
9433
And param id = '72f30ca1-3b80-4020-b9ed-301b1a88df39'
0
9434
And param elementsetname = 'full'
0
9435
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9436
When method get
1853
9437
Then status 200
0
9438
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '72f30ca1-3b80-4020-b9ed-301b1a88df39'
1
9439
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9440
* def title = get response //citation/CI_Citation/title/CharacterString
0
9441
* def email = get response //electronicMailAddress/CharacterString
0
9442
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9443
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9444
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9445
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9446
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9447
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9448
* print organisationpath
0
06:40:46.818 [print]
9449
* print operateson
0
06:40:46.818 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification
9450
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9451
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9452
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.279:18]f59357eb-185f-42a5-b465-90bfa6e3e416
ms: 1813
>>
Background:
9453
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9454
* def mystorage = Java.type('storage.DataStorage')
2
9455
* def db = new mystorage
17
9456
* def db = db.setfeature(karate.info.featureFileName)
8
9457
* def separator = java.lang.System.getProperty("file.separator")
1
9458
* def outputpath = db.outputpath()
1
9459
* eval db.ensureDirectory(outputpath)
1
9460
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9461
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9462
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9463
Given path 'geonetwork/srv/dut/inspire'
0
9464
And param service = 'CSW'
0
9465
And param version = '2.0.2'
0
9466
And param request = 'GetRecordById'
0
9467
And param id = 'f59357eb-185f-42a5-b465-90bfa6e3e416'
0
9468
And param elementsetname = 'full'
0
9469
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9470
When method get
1805
9471
Then status 200
0
9472
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f59357eb-185f-42a5-b465-90bfa6e3e416'
1
9473
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9474
* def title = get response //citation/CI_Citation/title/CharacterString
0
9475
* def email = get response //electronicMailAddress/CharacterString
0
9476
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9477
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9478
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9479
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9480
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9481
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9482
* print organisationpath
0
06:40:46.884 [print]
9483
* print operateson
0
06:40:46.884 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification
9484
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9485
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9486
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.280:18]25a99d92-ea8a-4163-82ab-3521c9b0c96b
ms: 1859
>>
Background:
9487
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9488
* def mystorage = Java.type('storage.DataStorage')
2
9489
* def db = new mystorage
17
9490
* def db = db.setfeature(karate.info.featureFileName)
8
9491
* def separator = java.lang.System.getProperty("file.separator")
1
9492
* def outputpath = db.outputpath()
1
9493
* eval db.ensureDirectory(outputpath)
1
9494
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9495
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9496
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9497
Given path 'geonetwork/srv/dut/inspire'
0
9498
And param service = 'CSW'
0
9499
And param version = '2.0.2'
0
9500
And param request = 'GetRecordById'
0
9501
And param id = '25a99d92-ea8a-4163-82ab-3521c9b0c96b'
0
9502
And param elementsetname = 'full'
0
9503
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9504
When method get
1850
9505
Then status 200
0
9506
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25a99d92-ea8a-4163-82ab-3521c9b0c96b'
1
9507
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9508
* def title = get response //citation/CI_Citation/title/CharacterString
0
9509
* def email = get response //electronicMailAddress/CharacterString
0
9510
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9511
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9512
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9513
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9514
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9515
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9516
* print organisationpath
0
06:40:46.986 [print] Beheer PDOK
9517
* print operateson
0
06:40:46.986 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
9518
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9519
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9520
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.281:18]ff9315c8-f25a-4d01-9245-5cf058314ebf
ms: 1937
>>
Background:
9521
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9522
* def mystorage = Java.type('storage.DataStorage')
2
9523
* def db = new mystorage
17
9524
* def db = db.setfeature(karate.info.featureFileName)
8
9525
* def separator = java.lang.System.getProperty("file.separator")
1
9526
* def outputpath = db.outputpath()
1
9527
* eval db.ensureDirectory(outputpath)
1
9528
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9529
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9530
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9531
Given path 'geonetwork/srv/dut/inspire'
0
9532
And param service = 'CSW'
0
9533
And param version = '2.0.2'
0
9534
And param request = 'GetRecordById'
0
9535
And param id = 'ff9315c8-f25a-4d01-9245-5cf058314ebf'
0
9536
And param elementsetname = 'full'
0
9537
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9538
When method get
1930
9539
Then status 200
0
9540
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff9315c8-f25a-4d01-9245-5cf058314ebf'
1
9541
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9542
* def title = get response //citation/CI_Citation/title/CharacterString
0
9543
* def email = get response //electronicMailAddress/CharacterString
0
9544
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9545
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9546
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9547
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9548
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9549
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9550
* print organisationpath
0
06:40:47.122 [print] Beheer PDOK
9551
* print operateson
0
06:40:47.122 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a29917b9-3426-4041-a11b-69bcb2256904&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9552
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9553
* eval db.writeln('"ff9315c8-f25a-4d01-9245-5cf058314ebf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9554
* eval db.writeln('"ff9315c8-f25a-4d01-9245-5cf058314ebf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.282:18]97cf6a64-9cfc-4ce6-9741-2db44fd27fca
ms: 1787
>>
Background:
9555
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9556
* def mystorage = Java.type('storage.DataStorage')
2
9557
* def db = new mystorage
17
9558
* def db = db.setfeature(karate.info.featureFileName)
8
9559
* def separator = java.lang.System.getProperty("file.separator")
1
9560
* def outputpath = db.outputpath()
1
9561
* eval db.ensureDirectory(outputpath)
1
9562
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9563
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9564
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9565
Given path 'geonetwork/srv/dut/inspire'
0
9566
And param service = 'CSW'
0
9567
And param version = '2.0.2'
0
9568
And param request = 'GetRecordById'
0
9569
And param id = '97cf6a64-9cfc-4ce6-9741-2db44fd27fca'
0
9570
And param elementsetname = 'full'
0
9571
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9572
When method get
1779
9573
Then status 200
0
9574
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97cf6a64-9cfc-4ce6-9741-2db44fd27fca'
1
9575
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9576
* def title = get response //citation/CI_Citation/title/CharacterString
0
9577
* def email = get response //electronicMailAddress/CharacterString
0
9578
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9579
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9580
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9581
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9582
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9583
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9584
* print organisationpath
0
06:40:47.013 [print]
9585
* print operateson
0
06:40:47.013 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a29917b9-3426-4041-a11b-69bcb2256904&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9586
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9587
* eval db.writeln('"97cf6a64-9cfc-4ce6-9741-2db44fd27fca","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9588
* eval db.writeln('"97cf6a64-9cfc-4ce6-9741-2db44fd27fca","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.283:18]dd414384-0bcb-4188-86e2-2843e12a579e
ms: 1880
>>
Background:
9589
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9590
* def mystorage = Java.type('storage.DataStorage')
2
9591
* def db = new mystorage
17
9592
* def db = db.setfeature(karate.info.featureFileName)
8
9593
* def separator = java.lang.System.getProperty("file.separator")
1
9594
* def outputpath = db.outputpath()
1
9595
* eval db.ensureDirectory(outputpath)
1
9596
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9597
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9598
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9599
Given path 'geonetwork/srv/dut/inspire'
0
9600
And param service = 'CSW'
0
9601
And param version = '2.0.2'
0
9602
And param request = 'GetRecordById'
0
9603
And param id = 'dd414384-0bcb-4188-86e2-2843e12a579e'
0
9604
And param elementsetname = 'full'
0
9605
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9606
When method get
1872
9607
Then status 200
0
9608
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd414384-0bcb-4188-86e2-2843e12a579e'
1
9609
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9610
* def title = get response //citation/CI_Citation/title/CharacterString
0
9611
* def email = get response //electronicMailAddress/CharacterString
0
9612
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9613
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9614
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9615
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9616
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9617
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9618
* print organisationpath
0
06:40:47.113 [print] TNO Geologische Dienst Nederland
9619
* print operateson
0
06:40:47.113 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9620
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9621
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9622
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.284:18]a1ed8a00-da07-472e-9627-99175d437c94
ms: 1770
>>
Background:
9623
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9624
* def mystorage = Java.type('storage.DataStorage')
2
9625
* def db = new mystorage
17
9626
* def db = db.setfeature(karate.info.featureFileName)
8
9627
* def separator = java.lang.System.getProperty("file.separator")
1
9628
* def outputpath = db.outputpath()
1
9629
* eval db.ensureDirectory(outputpath)
1
9630
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9631
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9632
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9633
Given path 'geonetwork/srv/dut/inspire'
0
9634
And param service = 'CSW'
0
9635
And param version = '2.0.2'
0
9636
And param request = 'GetRecordById'
0
9637
And param id = 'a1ed8a00-da07-472e-9627-99175d437c94'
0
9638
And param elementsetname = 'full'
0
9639
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9640
When method get
1759
9641
Then status 200
0
9642
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a1ed8a00-da07-472e-9627-99175d437c94'
1
9643
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9644
* def title = get response //citation/CI_Citation/title/CharacterString
0
9645
* def email = get response //electronicMailAddress/CharacterString
0
9646
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9647
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9648
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9649
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9650
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9651
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9652
* print organisationpath
0
06:40:47.227 [print] Beheer PDOK
9653
* print operateson
0
06:40:47.227 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification
9654
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9655
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9656
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.285:18]cea38797-ea4b-4969-b979-8d25eb543a6c
ms: 1846
>>
Background:
9657
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9658
* def mystorage = Java.type('storage.DataStorage')
2
9659
* def db = new mystorage
17
9660
* def db = db.setfeature(karate.info.featureFileName)
8
9661
* def separator = java.lang.System.getProperty("file.separator")
1
9662
* def outputpath = db.outputpath()
1
9663
* eval db.ensureDirectory(outputpath)
1
9664
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9665
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9666
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9667
Given path 'geonetwork/srv/dut/inspire'
0
9668
And param service = 'CSW'
0
9669
And param version = '2.0.2'
0
9670
And param request = 'GetRecordById'
0
9671
And param id = 'cea38797-ea4b-4969-b979-8d25eb543a6c'
0
9672
And param elementsetname = 'full'
0
9673
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9674
When method get
1837
9675
Then status 200
0
9676
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cea38797-ea4b-4969-b979-8d25eb543a6c'
1
9677
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9678
* def title = get response //citation/CI_Citation/title/CharacterString
0
9679
* def email = get response //electronicMailAddress/CharacterString
0
9680
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9681
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9682
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9683
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9684
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9685
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9686
* print organisationpath
0
06:40:47.319 [print] Beheer PDOK
9687
* print operateson
0
06:40:47.319 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification
9688
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9689
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9690
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.286:18]68505be5-45c4-4889-a82a-125043bbdc44
ms: 1772
>>
Background:
9691
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9692
* def mystorage = Java.type('storage.DataStorage')
2
9693
* def db = new mystorage
17
9694
* def db = db.setfeature(karate.info.featureFileName)
8
9695
* def separator = java.lang.System.getProperty("file.separator")
1
9696
* def outputpath = db.outputpath()
1
9697
* eval db.ensureDirectory(outputpath)
1
9698
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9699
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9700
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9701
Given path 'geonetwork/srv/dut/inspire'
0
9702
And param service = 'CSW'
0
9703
And param version = '2.0.2'
0
9704
And param request = 'GetRecordById'
0
9705
And param id = '68505be5-45c4-4889-a82a-125043bbdc44'
0
9706
And param elementsetname = 'full'
0
9707
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9708
When method get
1764
9709
Then status 200
0
9710
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68505be5-45c4-4889-a82a-125043bbdc44'
1
9711
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9712
* def title = get response //citation/CI_Citation/title/CharacterString
0
9713
* def email = get response //electronicMailAddress/CharacterString
0
9714
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9715
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9716
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9717
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9718
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9719
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9720
* print organisationpath
0
06:40:47.368 [print] TNO Geologische Dienst Nederland
9721
* print operateson
0
06:40:47.368 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9722
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9723
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9724
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.287:18]5dfccef3-9b52-47f2-bb02-66b74aaf3af8
ms: 1913
>>
Background:
9725
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9726
* def mystorage = Java.type('storage.DataStorage')
2
9727
* def db = new mystorage
17
9728
* def db = db.setfeature(karate.info.featureFileName)
8
9729
* def separator = java.lang.System.getProperty("file.separator")
1
9730
* def outputpath = db.outputpath()
1
9731
* eval db.ensureDirectory(outputpath)
1
9732
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9733
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9734
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9735
Given path 'geonetwork/srv/dut/inspire'
1
9736
And param service = 'CSW'
0
9737
And param version = '2.0.2'
0
9738
And param request = 'GetRecordById'
0
9739
And param id = '5dfccef3-9b52-47f2-bb02-66b74aaf3af8'
1
9740
And param elementsetname = 'full'
0
9741
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9742
When method get
1905
9743
Then status 200
0
9744
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5dfccef3-9b52-47f2-bb02-66b74aaf3af8'
1
9745
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9746
* def title = get response //citation/CI_Citation/title/CharacterString
0
9747
* def email = get response //electronicMailAddress/CharacterString
0
9748
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9749
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9750
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9751
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9752
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9753
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9754
* print organisationpath
0
06:40:47.607 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
9755
* print operateson
0
06:40:47.607 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4d514a2b-4a7e-4686-b9ea-87cb3e17ed52&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
9756
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9757
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9758
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.288:18]4bb89277-6ebe-4e66-8929-cd275aa7fd81
ms: 1761
>>
Background:
9759
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9760
* def mystorage = Java.type('storage.DataStorage')
2
9761
* def db = new mystorage
17
9762
* def db = db.setfeature(karate.info.featureFileName)
8
9763
* def separator = java.lang.System.getProperty("file.separator")
1
9764
* def outputpath = db.outputpath()
1
9765
* eval db.ensureDirectory(outputpath)
1
9766
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9767
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9768
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9769
Given path 'geonetwork/srv/dut/inspire'
0
9770
And param service = 'CSW'
0
9771
And param version = '2.0.2'
0
9772
And param request = 'GetRecordById'
0
9773
And param id = '4bb89277-6ebe-4e66-8929-cd275aa7fd81'
0
9774
And param elementsetname = 'full'
0
9775
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9776
When method get
1752
9777
Then status 200
0
9778
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4bb89277-6ebe-4e66-8929-cd275aa7fd81'
1
9779
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9780
* def title = get response //citation/CI_Citation/title/CharacterString
0
9781
* def email = get response //electronicMailAddress/CharacterString
0
9782
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9783
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9784
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9785
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9786
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9787
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9788
* print organisationpath
0
06:40:47.517 [print] Beheer PDOK
9789
* print operateson
0
06:40:47.517 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76327507-4be4-4f2a-8d0a-83ec36656177#MD_DataIdentification
9790
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9791
* eval db.writeln('"4bb89277-6ebe-4e66-8929-cd275aa7fd81","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9792
* eval db.writeln('"4bb89277-6ebe-4e66-8929-cd275aa7fd81","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.289:18]9c5351c8-d8f4-41c2-9642-42a63496a6fe
ms: 2021
>>
Background:
9793
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9794
* def mystorage = Java.type('storage.DataStorage')
2
9795
* def db = new mystorage
17
9796
* def db = db.setfeature(karate.info.featureFileName)
8
9797
* def separator = java.lang.System.getProperty("file.separator")
1
9798
* def outputpath = db.outputpath()
1
9799
* eval db.ensureDirectory(outputpath)
1
9800
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9801
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9802
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9803
Given path 'geonetwork/srv/dut/inspire'
0
9804
And param service = 'CSW'
0
9805
And param version = '2.0.2'
0
9806
And param request = 'GetRecordById'
0
9807
And param id = '9c5351c8-d8f4-41c2-9642-42a63496a6fe'
0
9808
And param elementsetname = 'full'
0
9809
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9810
When method get
2003
9811
Then status 200
0
9812
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c5351c8-d8f4-41c2-9642-42a63496a6fe'
2
9813
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
9814
* def title = get response //citation/CI_Citation/title/CharacterString
2
9815
* def email = get response //electronicMailAddress/CharacterString
1
9816
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9817
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9818
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9819
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9820
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9821
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
9822
* print organisationpath
0
06:40:47.785 [print] Beheer PDOK
9823
* print operateson
0
06:40:47.785 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3#MD_DataIdentification
9824
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9825
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9826
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.290:18]a7aeddf2-3b37-4668-9c75-de93d9326276
ms: 1954
>>
Background:
9827
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9828
* def mystorage = Java.type('storage.DataStorage')
2
9829
* def db = new mystorage
17
9830
* def db = db.setfeature(karate.info.featureFileName)
8
9831
* def separator = java.lang.System.getProperty("file.separator")
1
9832
* def outputpath = db.outputpath()
1
9833
* eval db.ensureDirectory(outputpath)
1
9834
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9835
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9836
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9837
Given path 'geonetwork/srv/dut/inspire'
0
9838
And param service = 'CSW'
0
9839
And param version = '2.0.2'
0
9840
And param request = 'GetRecordById'
0
9841
And param id = 'a7aeddf2-3b37-4668-9c75-de93d9326276'
0
9842
And param elementsetname = 'full'
0
9843
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9844
When method get
1945
9845
Then status 200
0
9846
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7aeddf2-3b37-4668-9c75-de93d9326276'
1
9847
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9848
* def title = get response //citation/CI_Citation/title/CharacterString
0
9849
* def email = get response //electronicMailAddress/CharacterString
0
9850
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9851
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9852
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9853
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9854
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9855
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9856
* print organisationpath
0
06:40:47.735 [print] Beheer PDOK
9857
* print operateson
0
06:40:47.735 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification
9858
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9859
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9860
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.291:18]f61eec5c-cb91-40b6-ad35-9bca967006cc
ms: 1990
>>
Background:
9861
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9862
* def mystorage = Java.type('storage.DataStorage')
2
9863
* def db = new mystorage
17
9864
* def db = db.setfeature(karate.info.featureFileName)
8
9865
* def separator = java.lang.System.getProperty("file.separator")
1
9866
* def outputpath = db.outputpath()
1
9867
* eval db.ensureDirectory(outputpath)
1
9868
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9869
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9870
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9871
Given path 'geonetwork/srv/dut/inspire'
0
9872
And param service = 'CSW'
0
9873
And param version = '2.0.2'
0
9874
And param request = 'GetRecordById'
0
9875
And param id = 'f61eec5c-cb91-40b6-ad35-9bca967006cc'
0
9876
And param elementsetname = 'full'
0
9877
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9878
When method get
1960
9879
Then status 200
0
9880
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f61eec5c-cb91-40b6-ad35-9bca967006cc'
1
9881
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
20
9882
* def title = get response //citation/CI_Citation/title/CharacterString
0
9883
* def email = get response //electronicMailAddress/CharacterString
0
9884
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9885
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9886
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9887
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9888
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9889
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9890
* print organisationpath
0
06:40:47.979 [print]
9891
* print operateson
0
06:40:47.979 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification
9892
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9893
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9894
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.292:18]7827b68f-647e-46cc-a02a-cac48eaa5dda
ms: 2079
>>
Background:
9895
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9896
* def mystorage = Java.type('storage.DataStorage')
2
9897
* def db = new mystorage
17
9898
* def db = db.setfeature(karate.info.featureFileName)
8
9899
* def separator = java.lang.System.getProperty("file.separator")
1
9900
* def outputpath = db.outputpath()
1
9901
* eval db.ensureDirectory(outputpath)
1
9902
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9903
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9904
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9905
Given path 'geonetwork/srv/dut/inspire'
0
9906
And param service = 'CSW'
0
9907
And param version = '2.0.2'
0
9908
And param request = 'GetRecordById'
0
9909
And param id = '7827b68f-647e-46cc-a02a-cac48eaa5dda'
0
9910
And param elementsetname = 'full'
0
9911
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9912
When method get
2064
9913
Then status 200
0
9914
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7827b68f-647e-46cc-a02a-cac48eaa5dda'
1
9915
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9916
* def title = get response //citation/CI_Citation/title/CharacterString
1
9917
* def email = get response //electronicMailAddress/CharacterString
1
9918
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9919
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9920
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9921
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9922
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9923
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9924
* print organisationpath
0
06:40:48.089 [print] Beheer PDOK
9925
* print operateson
0
06:40:48.089 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification
9926
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
6
9927
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9928
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.293:18]1ff0035a-acc0-4a67-a76c-3b79646b4eef
ms: 1906
>>
Background:
9929
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9930
* def mystorage = Java.type('storage.DataStorage')
2
9931
* def db = new mystorage
17
9932
* def db = db.setfeature(karate.info.featureFileName)
8
9933
* def separator = java.lang.System.getProperty("file.separator")
1
9934
* def outputpath = db.outputpath()
1
9935
* eval db.ensureDirectory(outputpath)
1
9936
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9937
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9938
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9939
Given path 'geonetwork/srv/dut/inspire'
0
9940
And param service = 'CSW'
0
9941
And param version = '2.0.2'
0
9942
And param request = 'GetRecordById'
0
9943
And param id = '1ff0035a-acc0-4a67-a76c-3b79646b4eef'
0
9944
And param elementsetname = 'full'
0
9945
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9946
When method get
1897
9947
Then status 200
0
9948
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ff0035a-acc0-4a67-a76c-3b79646b4eef'
1
9949
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9950
* def title = get response //citation/CI_Citation/title/CharacterString
0
9951
* def email = get response //electronicMailAddress/CharacterString
0
9952
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9953
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9954
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9955
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9956
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9957
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9958
* print organisationpath
0
06:40:48.050 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
9959
* print operateson
0
06:40:48.050 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
9960
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9961
* eval db.writeln('"1ff0035a-acc0-4a67-a76c-3b79646b4eef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9962
* eval db.writeln('"1ff0035a-acc0-4a67-a76c-3b79646b4eef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.294:18]a035801a-3256-4a36-9f81-02421aacee17
ms: 1917
>>
Background:
9963
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9964
* def mystorage = Java.type('storage.DataStorage')
2
9965
* def db = new mystorage
17
9966
* def db = db.setfeature(karate.info.featureFileName)
8
9967
* def separator = java.lang.System.getProperty("file.separator")
1
9968
* def outputpath = db.outputpath()
1
9969
* eval db.ensureDirectory(outputpath)
1
9970
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9971
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9972
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9973
Given path 'geonetwork/srv/dut/inspire'
0
9974
And param service = 'CSW'
0
9975
And param version = '2.0.2'
0
9976
And param request = 'GetRecordById'
0
9977
And param id = 'a035801a-3256-4a36-9f81-02421aacee17'
0
9978
And param elementsetname = 'full'
0
9979
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9980
When method get
1896
9981
Then status 200
0
9982
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a035801a-3256-4a36-9f81-02421aacee17'
2
9983
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9984
* def title = get response //citation/CI_Citation/title/CharacterString
0
9985
* def email = get response //electronicMailAddress/CharacterString
1
9986
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9987
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9988
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9989
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9990
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9991
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9992
* print organisationpath
0
06:40:48.184 [print] Beheer PDOK
9993
* print operateson
0
06:40:48.184 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb#MD_DataIdentification
9994
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9995
* eval db.writeln('"a035801a-3256-4a36-9f81-02421aacee17","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
11
9996
* eval db.writeln('"a035801a-3256-4a36-9f81-02421aacee17","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.295:18]49a53bc1-dd76-417f-b9af-066901ddfec0
ms: 1974
>>
Background:
9997
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
9998
* def mystorage = Java.type('storage.DataStorage')
2
9999
* def db = new mystorage
17
10000
* def db = db.setfeature(karate.info.featureFileName)
8
10001
* def separator = java.lang.System.getProperty("file.separator")
1
10002
* def outputpath = db.outputpath()
1
10003
* eval db.ensureDirectory(outputpath)
1
10004
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10005
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10006
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10007
Given path 'geonetwork/srv/dut/inspire'
0
10008
And param service = 'CSW'
0
10009
And param version = '2.0.2'
0
10010
And param request = 'GetRecordById'
0
10011
And param id = '49a53bc1-dd76-417f-b9af-066901ddfec0'
0
10012
And param elementsetname = 'full'
0
10013
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10014
When method get
1957
10015
Then status 200
0
10016
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49a53bc1-dd76-417f-b9af-066901ddfec0'
1
10017
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10018
* def title = get response //citation/CI_Citation/title/CharacterString
0
10019
* def email = get response //electronicMailAddress/CharacterString
0
10020
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10021
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10022
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10023
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10024
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10025
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10026
* print organisationpath
0
06:40:48.278 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
10027
* print operateson
0
06:40:48.278 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
10028
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10029
* eval db.writeln('"49a53bc1-dd76-417f-b9af-066901ddfec0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
9
10030
* eval db.writeln('"49a53bc1-dd76-417f-b9af-066901ddfec0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.296:18]b023459a-9f0e-4d53-8059-a794119abbed
ms: 1973
>>
Background:
10031
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10032
* def mystorage = Java.type('storage.DataStorage')
2
10033
* def db = new mystorage
17
10034
* def db = db.setfeature(karate.info.featureFileName)
8
10035
* def separator = java.lang.System.getProperty("file.separator")
1
10036
* def outputpath = db.outputpath()
1
10037
* eval db.ensureDirectory(outputpath)
1
10038
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10039
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10040
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10041
Given path 'geonetwork/srv/dut/inspire'
0
10042
And param service = 'CSW'
0
10043
And param version = '2.0.2'
0
10044
And param request = 'GetRecordById'
0
10045
And param id = 'b023459a-9f0e-4d53-8059-a794119abbed'
0
10046
And param elementsetname = 'full'
0
10047
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10048
When method get
1964
10049
Then status 200
0
10050
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b023459a-9f0e-4d53-8059-a794119abbed'
1
10051
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10052
* def title = get response //citation/CI_Citation/title/CharacterString
0
10053
* def email = get response //electronicMailAddress/CharacterString
0
10054
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10055
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10056
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10057
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10058
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10059
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10060
* print organisationpath
0
06:40:48.368 [print] Beheer PDOK
10061
* print operateson
0
06:40:48.368 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification
10062
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10063
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10064
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.297:18]7b8f44b5-6eae-4113-a835-84b8678c3dd5
ms: 2076
>>
Background:
10065
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10066
* def mystorage = Java.type('storage.DataStorage')
2
10067
* def db = new mystorage
17
10068
* def db = db.setfeature(karate.info.featureFileName)
8
10069
* def separator = java.lang.System.getProperty("file.separator")
1
10070
* def outputpath = db.outputpath()
1
10071
* eval db.ensureDirectory(outputpath)
1
10072
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10073
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10074
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10075
Given path 'geonetwork/srv/dut/inspire'
0
10076
And param service = 'CSW'
0
10077
And param version = '2.0.2'
0
10078
And param request = 'GetRecordById'
0
10079
And param id = '7b8f44b5-6eae-4113-a835-84b8678c3dd5'
0
10080
And param elementsetname = 'full'
0
10081
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10082
When method get
2068
10083
Then status 200
0
10084
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b8f44b5-6eae-4113-a835-84b8678c3dd5'
1
10085
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10086
* def title = get response //citation/CI_Citation/title/CharacterString
0
10087
* def email = get response //electronicMailAddress/CharacterString
0
10088
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10089
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10090
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10091
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10092
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10093
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10094
* print organisationpath
0
06:40:48.512 [print] Beheer PDOK
10095
* print operateson
0
06:40:48.512 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification
10096
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10097
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10098
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.298:18]101a2cc7-bb53-4a16-98f9-bab1f4745b01
ms: 2283
>>
Background:
10099
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10100
* def mystorage = Java.type('storage.DataStorage')
2
10101
* def db = new mystorage
17
10102
* def db = db.setfeature(karate.info.featureFileName)
8
10103
* def separator = java.lang.System.getProperty("file.separator")
1
10104
* def outputpath = db.outputpath()
1
10105
* eval db.ensureDirectory(outputpath)
1
10106
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10107
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10108
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10109
Given path 'geonetwork/srv/dut/inspire'
0
10110
And param service = 'CSW'
0
10111
And param version = '2.0.2'
0
10112
And param request = 'GetRecordById'
0
10113
And param id = '101a2cc7-bb53-4a16-98f9-bab1f4745b01'
0
10114
And param elementsetname = 'full'
0
10115
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10116
When method get
2270
10117
Then status 200
0
10118
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '101a2cc7-bb53-4a16-98f9-bab1f4745b01'
3
10119
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10120
* def title = get response //citation/CI_Citation/title/CharacterString
0
10121
* def email = get response //electronicMailAddress/CharacterString
0
10122
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10123
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10124
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10125
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10126
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10127
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10128
* print organisationpath
0
06:40:48.755 [print] Beheer PDOK
10129
* print operateson
0
06:40:48.755 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification
10130
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10131
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10132
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.299:18]0080a9ce-b836-45bc-8fdf-07dcbe97101d
ms: 2054
>>
Background:
10133
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10134
* def mystorage = Java.type('storage.DataStorage')
2
10135
* def db = new mystorage
17
10136
* def db = db.setfeature(karate.info.featureFileName)
8
10137
* def separator = java.lang.System.getProperty("file.separator")
1
10138
* def outputpath = db.outputpath()
1
10139
* eval db.ensureDirectory(outputpath)
1
10140
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10141
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10142
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10143
Given path 'geonetwork/srv/dut/inspire'
0
10144
And param service = 'CSW'
0
10145
And param version = '2.0.2'
0
10146
And param request = 'GetRecordById'
0
10147
And param id = '0080a9ce-b836-45bc-8fdf-07dcbe97101d'
0
10148
And param elementsetname = 'full'
0
10149
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10150
When method get
2046
10151
Then status 200
0
10152
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0080a9ce-b836-45bc-8fdf-07dcbe97101d'
1
10153
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10154
* def title = get response //citation/CI_Citation/title/CharacterString
0
10155
* def email = get response //electronicMailAddress/CharacterString
0
10156
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10157
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10158
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10159
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10160
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10161
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10162
* print organisationpath
0
06:40:48.670 [print]
10163
* print operateson
0
06:40:48.670 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=493ab81b-75f8-4205-b030-6b2fd9eb4295&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
10164
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10165
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10166
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.300:18]7e87a655-c4eb-404d-9d0a-efa2dccef7cc
ms: 1912
>>
Background:
10167
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10168
* def mystorage = Java.type('storage.DataStorage')
2
10169
* def db = new mystorage
17
10170
* def db = db.setfeature(karate.info.featureFileName)
8
10171
* def separator = java.lang.System.getProperty("file.separator")
1
10172
* def outputpath = db.outputpath()
1
10173
* eval db.ensureDirectory(outputpath)
1
10174
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10175
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10176
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10177
Given path 'geonetwork/srv/dut/inspire'
1
10178
And param service = 'CSW'
0
10179
And param version = '2.0.2'
0
10180
And param request = 'GetRecordById'
0
10181
And param id = '7e87a655-c4eb-404d-9d0a-efa2dccef7cc'
1
10182
And param elementsetname = 'full'
0
10183
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10184
When method get
1903
10185
Then status 200
0
10186
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7e87a655-c4eb-404d-9d0a-efa2dccef7cc'
1
10187
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10188
* def title = get response //citation/CI_Citation/title/CharacterString
0
10189
* def email = get response //electronicMailAddress/CharacterString
0
10190
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10191
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10192
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10193
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10194
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10195
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10196
* print organisationpath
0
06:40:48.602 [print] Beheer PDOK
10197
* print operateson
0
06:40:48.602 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification
10198
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10199
* eval db.writeln('"7e87a655-c4eb-404d-9d0a-efa2dccef7cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10200
* eval db.writeln('"7e87a655-c4eb-404d-9d0a-efa2dccef7cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.301:18]5b40b9b4-fcb2-4553-bcab-34824c43c992
ms: 1971
>>
Background:
10201
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10202
* def mystorage = Java.type('storage.DataStorage')
2
10203
* def db = new mystorage
17
10204
* def db = db.setfeature(karate.info.featureFileName)
8
10205
* def separator = java.lang.System.getProperty("file.separator")
1
10206
* def outputpath = db.outputpath()
1
10207
* eval db.ensureDirectory(outputpath)
1
10208
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10209
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10210
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10211
Given path 'geonetwork/srv/dut/inspire'
0
10212
And param service = 'CSW'
0
10213
And param version = '2.0.2'
0
10214
And param request = 'GetRecordById'
0
10215
And param id = '5b40b9b4-fcb2-4553-bcab-34824c43c992'
0
10216
And param elementsetname = 'full'
0
10217
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10218
When method get
1951
10219
Then status 200
0
10220
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5b40b9b4-fcb2-4553-bcab-34824c43c992'
1
10221
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10222
* def title = get response //citation/CI_Citation/title/CharacterString
0
10223
* def email = get response //electronicMailAddress/CharacterString
0
10224
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10225
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10226
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10227
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10228
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10229
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10230
* print organisationpath
0
06:40:48.746 [print] Beheer PDOK
10231
* print operateson
0
06:40:48.747 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification
10232
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10233
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
11
10234
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.302:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b1
ms: 2071
>>
Background:
10235
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10236
* def mystorage = Java.type('storage.DataStorage')
2
10237
* def db = new mystorage
17
10238
* def db = db.setfeature(karate.info.featureFileName)
8
10239
* def separator = java.lang.System.getProperty("file.separator")
1
10240
* def outputpath = db.outputpath()
1
10241
* eval db.ensureDirectory(outputpath)
1
10242
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10243
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10244
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10245
Given path 'geonetwork/srv/dut/inspire'
0
10246
And param service = 'CSW'
0
10247
And param version = '2.0.2'
0
10248
And param request = 'GetRecordById'
0
10249
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1'
1
10250
And param elementsetname = 'full'
0
10251
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10252
When method get
2060
10253
Then status 200
0
10254
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1'
1
10255
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10256
* def title = get response //citation/CI_Citation/title/CharacterString
1
10257
* def email = get response //electronicMailAddress/CharacterString
1
10258
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10259
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10260
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10261
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10262
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10263
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10264
* print organisationpath
0
06:40:48.888 [print] Rijkswaterstaat
10265
* print operateson
0
06:40:48.888 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f5#MD_DataIdentification
10266
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10267
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10268
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.303:18]1a8d5470-8c5e-477a-ab6b-4893b6d21ab6
ms: 2040
>>
Background:
10269
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10270
* def mystorage = Java.type('storage.DataStorage')
2
10271
* def db = new mystorage
17
10272
* def db = db.setfeature(karate.info.featureFileName)
8
10273
* def separator = java.lang.System.getProperty("file.separator")
1
10274
* def outputpath = db.outputpath()
1
10275
* eval db.ensureDirectory(outputpath)
1
10276
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10277
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10278
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10279
Given path 'geonetwork/srv/dut/inspire'
0
10280
And param service = 'CSW'
0
10281
And param version = '2.0.2'
0
10282
And param request = 'GetRecordById'
0
10283
And param id = '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6'
0
10284
And param elementsetname = 'full'
0
10285
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10286
When method get
2032
10287
Then status 200
0
10288
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6'
1
10289
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10290
* def title = get response //citation/CI_Citation/title/CharacterString
0
10291
* def email = get response //electronicMailAddress/CharacterString
0
10292
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10293
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10294
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10295
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10296
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10297
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10298
* print organisationpath
0
06:40:48.924 [print] TNO Geologische Dienst Nederland
10299
* print operateson
0
06:40:48.925 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
10300
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10301
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10302
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.304:18]22bedc12-e9cb-4419-8e51-dfb375d46d01
ms: 1973
>>
Background:
10303
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10304
* def mystorage = Java.type('storage.DataStorage')
2
10305
* def db = new mystorage
17
10306
* def db = db.setfeature(karate.info.featureFileName)
8
10307
* def separator = java.lang.System.getProperty("file.separator")
1
10308
* def outputpath = db.outputpath()
1
10309
* eval db.ensureDirectory(outputpath)
1
10310
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10311
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10312
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10313
Given path 'geonetwork/srv/dut/inspire'
0
10314
And param service = 'CSW'
0
10315
And param version = '2.0.2'
0
10316
And param request = 'GetRecordById'
0
10317
And param id = '22bedc12-e9cb-4419-8e51-dfb375d46d01'
0
10318
And param elementsetname = 'full'
0
10319
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10320
When method get
1965
10321
Then status 200
0
10322
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '22bedc12-e9cb-4419-8e51-dfb375d46d01'
1
10323
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10324
* def title = get response //citation/CI_Citation/title/CharacterString
0
10325
* def email = get response //electronicMailAddress/CharacterString
0
10326
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10327
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10328
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10329
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10330
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10331
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10332
* print organisationpath
0
06:40:48.959 [print] Interprovinciaal Overleg
10333
* print operateson
0
06:40:48.960 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
10334
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10335
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10336
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.305:18]dcb7f0d7-d70b-4eab-9a46-7af98de860bd
ms: 2114
>>
Background:
10337
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10338
* def mystorage = Java.type('storage.DataStorage')
2
10339
* def db = new mystorage
17
10340
* def db = db.setfeature(karate.info.featureFileName)
8
10341
* def separator = java.lang.System.getProperty("file.separator")
1
10342
* def outputpath = db.outputpath()
1
10343
* eval db.ensureDirectory(outputpath)
1
10344
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10345
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10346
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10347
Given path 'geonetwork/srv/dut/inspire'
0
10348
And param service = 'CSW'
0
10349
And param version = '2.0.2'
0
10350
And param request = 'GetRecordById'
0
10351
And param id = 'dcb7f0d7-d70b-4eab-9a46-7af98de860bd'
0
10352
And param elementsetname = 'full'
0
10353
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10354
When method get
2105
10355
Then status 200
0
10356
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dcb7f0d7-d70b-4eab-9a46-7af98de860bd'
1
10357
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10358
* def title = get response //citation/CI_Citation/title/CharacterString
0
10359
* def email = get response //electronicMailAddress/CharacterString
1
10360
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10361
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10362
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10363
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10364
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10365
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10366
* print organisationpath
0
06:40:49.127 [print] Beheer PDOK
10367
* print operateson
0
06:40:49.127 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=26103042-50a1-4ee5-9c5b-857a2f8b7680#MD_DataIdentification
10368
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10369
* eval db.writeln('"dcb7f0d7-d70b-4eab-9a46-7af98de860bd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10370
* eval db.writeln('"dcb7f0d7-d70b-4eab-9a46-7af98de860bd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.306:18]1c0dcc64-91aa-4d44-a9e3-54355556f5e7
ms: 2048
>>
Background:
10371
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10372
* def mystorage = Java.type('storage.DataStorage')
2
10373
* def db = new mystorage
17
10374
* def db = db.setfeature(karate.info.featureFileName)
8
10375
* def separator = java.lang.System.getProperty("file.separator")
1
10376
* def outputpath = db.outputpath()
1
10377
* eval db.ensureDirectory(outputpath)
1
10378
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10379
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10380
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10381
Given path 'geonetwork/srv/dut/inspire'
0
10382
And param service = 'CSW'
0
10383
And param version = '2.0.2'
0
10384
And param request = 'GetRecordById'
0
10385
And param id = '1c0dcc64-91aa-4d44-a9e3-54355556f5e7'
0
10386
And param elementsetname = 'full'
0
10387
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10388
When method get
2039
10389
Then status 200
0
10390
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c0dcc64-91aa-4d44-a9e3-54355556f5e7'
1
10391
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10392
* def title = get response //citation/CI_Citation/title/CharacterString
1
10393
* def email = get response //electronicMailAddress/CharacterString
1
10394
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10395
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10396
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10397
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10398
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10399
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10400
* print organisationpath
0
06:40:49.162 [print] Beheer PDOK
10401
* print operateson
0
06:40:49.163 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification
10402
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10403
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10404
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.307:18]b5ee6914-04bd-4c7e-a180-242371ae40d9
ms: 2108
>>
Background:
10405
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10406
* def mystorage = Java.type('storage.DataStorage')
2
10407
* def db = new mystorage
17
10408
* def db = db.setfeature(karate.info.featureFileName)
8
10409
* def separator = java.lang.System.getProperty("file.separator")
1
10410
* def outputpath = db.outputpath()
1
10411
* eval db.ensureDirectory(outputpath)
1
10412
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10413
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10414
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10415
Given path 'geonetwork/srv/dut/inspire'
0
10416
And param service = 'CSW'
0
10417
And param version = '2.0.2'
0
10418
And param request = 'GetRecordById'
0
10419
And param id = 'b5ee6914-04bd-4c7e-a180-242371ae40d9'
0
10420
And param elementsetname = 'full'
0
10421
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10422
When method get
2100
10423
Then status 200
0
10424
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b5ee6914-04bd-4c7e-a180-242371ae40d9'
1
10425
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10426
* def title = get response //citation/CI_Citation/title/CharacterString
0
10427
* def email = get response //electronicMailAddress/CharacterString
0
10428
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10429
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10430
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10431
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10432
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10433
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10434
* print organisationpath
0
06:40:49.230 [print]
10435
* print operateson
0
06:40:49.230 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification" ]
10436
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10437
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10438
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.308:18]c21c6bf5-8899-4b46-8986-0f65eca05ed0
ms: 1991
>>
Background:
10439
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10440
* def mystorage = Java.type('storage.DataStorage')
2
10441
* def db = new mystorage
17
10442
* def db = db.setfeature(karate.info.featureFileName)
8
10443
* def separator = java.lang.System.getProperty("file.separator")
1
10444
* def outputpath = db.outputpath()
1
10445
* eval db.ensureDirectory(outputpath)
1
10446
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10447
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10448
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10449
Given path 'geonetwork/srv/dut/inspire'
1
10450
And param service = 'CSW'
0
10451
And param version = '2.0.2'
0
10452
And param request = 'GetRecordById'
0
10453
And param id = 'c21c6bf5-8899-4b46-8986-0f65eca05ed0'
1
10454
And param elementsetname = 'full'
0
10455
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10456
When method get
1982
10457
Then status 200
0
10458
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c21c6bf5-8899-4b46-8986-0f65eca05ed0'
1
10459
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10460
* def title = get response //citation/CI_Citation/title/CharacterString
0
10461
* def email = get response //electronicMailAddress/CharacterString
0
10462
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10463
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10464
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10465
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10466
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10467
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10468
* print organisationpath
0
06:40:49.219 [print] Beheer PDOK
10469
* print operateson
0
06:40:49.219 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification" ]
10470
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10471
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10472
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.309:18]74620aa8-4fa2-414d-8350-50d93e500da8
ms: 2036
>>
Background:
10473
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10474
* def mystorage = Java.type('storage.DataStorage')
2
10475
* def db = new mystorage
17
10476
* def db = db.setfeature(karate.info.featureFileName)
8
10477
* def separator = java.lang.System.getProperty("file.separator")
1
10478
* def outputpath = db.outputpath()
1
10479
* eval db.ensureDirectory(outputpath)
1
10480
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10481
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10482
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10483
Given path 'geonetwork/srv/dut/inspire'
0
10484
And param service = 'CSW'
0
10485
And param version = '2.0.2'
0
10486
And param request = 'GetRecordById'
0
10487
And param id = '74620aa8-4fa2-414d-8350-50d93e500da8'
0
10488
And param elementsetname = 'full'
0
10489
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10490
When method get
2023
10491
Then status 200
0
10492
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '74620aa8-4fa2-414d-8350-50d93e500da8'
1
10493
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10494
* def title = get response //citation/CI_Citation/title/CharacterString
0
10495
* def email = get response //electronicMailAddress/CharacterString
0
10496
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10497
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10498
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10499
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10500
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10501
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10502
* print organisationpath
0
06:40:49.352 [print]
10503
* print operateson
0
06:40:49.352 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=50eef6be-619d-4e16-9b92-48971109b636#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8de2f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38#MD_DataIdentification" ]
10504
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
5
10505
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10506
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.310:18]17ad94f6-4961-448b-a6f5-5368b7870409
ms: 1990
>>
Background:
10507
* url 'http://nationaalgeoregister.nl/'
1
06:40:24.168 karate.env system property was:
10508
* def mystorage = Java.type('storage.DataStorage')
2
10509
* def db = new mystorage
17
10510
* def db = db.setfeature(karate.info.featureFileName)
8
10511
* def separator = java.lang.System.getProperty("file.separator")
1
10512
* def outputpath = db.outputpath()
1
10513
* eval db.ensureDirectory(outputpath)
1
10514
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10515
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10516
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10517
Given path 'geonetwork/srv/dut/inspire'
0
10518
And param service = 'CSW'
0
10519
And param version = '2.0.2'
0
10520
And param request = 'GetRecordById'
0
10521
And param id = '17ad94f6-4961-448b-a6f5-5368b7870409'
0
10522
And param elementsetname = 'full'
0
10523
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10524
When method get
1974
10525
Then status 200
0
10526
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17ad94f6-4961-448b-a6f5-5368b7870409'
1
10527
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10528
* def title = get response //citation/CI_Citation/title/CharacterString
0
10529
* def email = get response //electronicMailAddress/CharacterString
0
10530
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10531
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10532
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10533
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10534
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10535
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10536
* print organisationpath
0
06:40:49.351 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
10537
* print operateson
0
06:40:49.351 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification
10538
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10539
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
8
10540
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
1
Scenario Outline: [1.1:59]dd49e02c-ea87-4ffc-89dd-f888608d95b7
ms: 1741
>>
Background:
10541
* url 'http://nationaalgeoregister.nl/'
0
06:40:47.528 karate.env system property was:
10542
* def mystorage = Java.type('storage.DataStorage')
4
10543
* def db = new mystorage
1
10544
* def db = db.setfeature(karate.info.featureFileName)
1
10545
* def separator = java.lang.System.getProperty("file.separator")
1
10546
* def outputpath = db.outputpath()
1
10547
* eval db.ensureDirectory(outputpath)
1
10548
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10549
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10550
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10551
Given path 'geonetwork/srv/dut/inspire'
0
10552
And param service = 'CSW'
0
10553
And param version = '2.0.2'
0
10554
And param request = 'GetRecordById'
0
10555
And param id = 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
0
10556
And param elementsetname = 'full'
0
10557
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10558
When method get
1721
10559
Then status 200
0
10560
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
1
10561
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10562
* def title = get response //citation/CI_Citation/title/CharacterString
0
10563
* def email = get response //electronicMailAddress/CharacterString
0
10564
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10565
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10566
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10567
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10568
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10569
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10570
* print organisationpath
0
06:40:49.272 [print] Beheer PDOK
10571
* print operateson
0
06:40:49.272 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
10572
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10573
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10574
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2